could someone please give some examples of storing and retrieving from 2-dimensional arrays in pascal? using for-to-do...
Printable View
could someone please give some examples of storing and retrieving from 2-dimensional arrays in pascal? using for-to-do...
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.
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!