Another beginner question brought to you by Steve... More easy points guys!
Posted on 2003-03-25
Hey quick question, I know you guys must be loving my easy points. Anyways here it goes... How do I declare a static 2 dimentional array, must be a constant like
MyArray: Array[0..3] of String = ('aa', 'bb', 'cc', 'dd');
Okay that single dimentional array works fine of coarse, but say I want to make a table of this like
MyArray: Array[0..3, 0..3] of string = (??????? ***
*** okay this is where I get stuck. I dont know how to put in the values correctly, I always get an error that's like "incompatible Types: 'Array' and 'String' " no matter what I try. Remember this must be initialized in the constants section just like the first one is.