Results 1 to 3 of 3

Thread: [RESOLVED] Pascal - 2D-Arrays

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2006
    Location
    Wauchope, NSW, Australia
    Posts
    92

    Resolved [RESOLVED] Pascal - 2D-Arrays

    could someone please give some examples of storing and retrieving from 2-dimensional arrays in pascal? using for-to-do...

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2006
    Location
    Wauchope, NSW, Australia
    Posts
    92

    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
  •  



Click Here to Expand Forum to Full Width