|
-
Mar 28th, 2007, 10:13 AM
#1
Thread Starter
Lively Member
[RESOLVED] Pascal - 2D-Arrays
could someone please give some examples of storing and retrieving from 2-dimensional arrays in pascal? using for-to-do...
-
Apr 3rd, 2007, 02:57 PM
#2
Re: Pascal - 2D-Arrays
Do you mean storing to and retrieving from a disk file, or other scalar storage?
Use a for/next loop to iterate through the array, or define a type that's the array, then you can define your array as that type and you can define a file of that type.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Apr 4th, 2007, 01:46 AM
#3
Thread Starter
Lively Member
Re: Pascal - 2D-Arrays
it's all good, i figured it out... just made a stupid mistake. but that's what you get when you're programming at 2:30am
thanks anyway though!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|