PDA

Click to See Complete Forum and Search --> : [RESOLVED] Pascal - 2D-Arrays


AC_AC_AC187
Mar 28th, 2007, 10:13 AM
could someone please give some examples of storing and retrieving from 2-dimensional arrays in pascal? using for-to-do...

Al42
Apr 3rd, 2007, 02:57 PM
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.

AC_AC_AC187
Apr 4th, 2007, 01:46 AM
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!