Hard to remember all variables? (Small guide)

Discussion in 'Archives' started by -------owned-------, Apr 30, 2007.

Hard to remember all variables? (Small guide)
  1. Unread #1 - Apr 30, 2007 at 7:34 AM
  2. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    Hard to remember all variables? (Small guide)

    Use arrays. Here is an example:
    program Iusearrays;
    var greeting:array[1..5] of string;
    begin;
    greeting[1]:='yo';
    greeting[2]:='sup';
    greeting[3]:='hey';
    greeting[4]:='hello';
    greeting[5]:='good day';
    end.
    1..5 declares that we want 5 "strings" in our array.
    If anything is incorrect, pm me.
     
< iPod nano hacking (MAY work with other versions) | Will be somewhat inactive (mother diagnosed with cancer) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site