Results 1 to 3 of 3

Thread: arrays! =D

  1. #1
    Join Date
    Mar 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default arrays! =D

    I don't know what it expects after "of". I have
    Code:
    var slotXcord:array[2..28];
    and it expects an OF after it..but I don't know what I'd put after the of.

  2. #2
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is it an integer, boolean, extended, or string(the array that is)?

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Like this

    Code:
      NPCColors: array[1..16] of integer;
      TreeColors : Array [1..3] of Integer;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Arrays, stuck on arrays
    By Camaro' in forum OSR Help
    Replies: 1
    Last Post: 03-08-2008, 02:02 AM
  2. Need Help With Arrays
    By papenco in forum OSR Help
    Replies: 16
    Last Post: 11-28-2007, 03:56 AM
  3. Help with Arrays
    By kooldude in forum OSR Help
    Replies: 16
    Last Post: 06-15-2007, 05:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •