Hi , it's possible to imbricate for, like this
For y = 1 to 3
For x = 1 to 7
call initRow(x,y,6,1133,1)
Next
Next
I try this but i have an error
The game engine has encountered the following:
ERROR executing script
** Unexpected: (P|(EOF)|0.0) when looking for: Next
near line: 131
for i = 1 to 7
call initRow(j,i,6,1133,1)
<-- Error here
Engine version: 6.3.6
Game slot: 1
Game version: .05
Please report this error to the author of this game () so that it can get fixed.
Thanks
Cotteux
sorry i found how to do
sub x(y)
For x = 1 to 7
call initRow(x,y,6,1133,1)
Next
....
For y = 1 to 3
call x(y)
Next
Oh yes the only way is to place the inner FOR into a subroutine