aaron126
2013-05-21 15:19:59
Hey, I'm not sure if this is the right place for this… If not, please tell me where it should be.
Am I doing something wrong?
Does simba not support multi-dimensional arrays?
if so then why the hell not…
I've been trying to get multi-dimensional arrays to work in a script, however for some reason simba doesn't want to cooperate. Here's what I've tried:
Compiling failed.
Compiling failed.
Compiling failed.
Compiling failed.
Compiling failed.
Compiling failed.
Compiling failed.
Compiling failed.
Compiling failed.
Am I doing something wrong?
Does simba not support multi-dimensional arrays?
if so then why the hell not…
I've been trying to get multi-dimensional arrays to work in a script, however for some reason simba doesn't want to cooperate. Here's what I've tried:
var
a: array [0..3,0..3] of integer;
[Error] Closing square bracket (']') expected at line 907Compiling failed.
var
a: array [0..3,0..3] of TintegerArray;
[Error] Closing square bracket (']') expected at line 907Compiling failed.
var
a: array [0..3][0..3] of integer;
[Error] 'OF' expected at line 907Compiling failed.
var
a: array [0..3],[0..3] of integer;
[Error] 'OF' expected at line 907Compiling failed.
var
a: array [0..3],[0..3] of TIntegerArray;
[Error] 'OF' expected at line 907Compiling failed.
var
a: array [3,3] of integer;
[Error] period ('.') expected at line 907Compiling failed.
var
a: array [3,3] of TIntegerArray;
[Error] period ('.') expected at line 907Compiling failed.
var
a: array [3.3] of TIntegerArray;
[Error] Type mismatch at line 907Compiling failed.
var
a: array [3.3] of Integer;
[Error] Type mismatch at line 907Compiling failed.
:D