Log in

View Full Version : arrays! =D



asdfasdfasdf
03-06-2007, 11:00 PM
I don't know what it expects after "of". I have


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

XcanadamanX
03-07-2007, 02:40 AM
is it an integer, boolean, extended, or string(the array that is)?

YoHoJo
03-07-2007, 02:48 AM
Like this


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