I am having troubles with decleration of arrays.
I have the perception that I first need to declare variables and then I can declare the variable as an array after which i can use it. But i keep getting compiler errors ;-(
So what am i doing wrong??? Here is the code i tested it with. I studied most of the araay related posts but stil am having problems with declaring of variables, how, where and when!!
Need some help!
// Variables Declaration and set to 0
CountNbr:=VarArrayCreate([0,36],12) of Integer;
CountNoWin:=VarArrayCreate([0,12],[0,6000],12) of Integer; // Set variable as array
for k := 0 to 36 do begin CountNbr[k] := 0 ;CountNoWin[k] := 0; end; // Set everything to 0
// End Variables Declaration