Multiple Line commands

BlitzMax Forums/BlitzMax Beginners Area/Multiple Line commands

H&K(Posted 2006) [#1]
I have this line in my code

Local Temp:Int[][] = [ [1 , 0 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1] ,[1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1], [1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 ,1],[1 , 0 , 1 , 1 , 0 , 1 , 1 , 0 , 1 , 1],[1 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 1 , 0],[1 , 0 , 0 , 0 , 1 , 1 , 1 , 0 , 1 , 1],[0 , 0 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1] ]

And no matter how I try to re syntax it I cannot spilt it into more lines. ie

Local Temp:Int[][] = [ [1 , 0 , 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1]
,[1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1]
,[1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 ,1]
,[1 , 0 , 1 , 1 , 0 , 1 , 1 , 0 , 1 , 1]
,[1 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 1 , 0]
,[1 , 0 , 0 , 0 , 1 , 1 , 1 , 0 , 1 , 1]
,[0 , 0 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1] ]

Can it Not be done? Or am I doing something wrong?


Perturbatio(Posted 2006) [#2]
try:



H&K(Posted 2006) [#3]
Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.

Thats the sort of thing we need a good manual for.
Many Thanks