need help with scaning 2D array

Miscellaneous Forums/General Discussion/need help with scaning 2D array

You know arrays in BLitz as 0 indexed right?

For Y = 8 To 0 Step -1
	
	Steps = 9-Y
	
	For X = 0 To Steps-1
		Array[X, Y+X] = BLAH
	Next
	
Next	
	
For X = 1 To 8 
	
	Steps = 9-X
	
	For Y = 0 To Steps-1
		Array[X+Y, Y] = BLAH
	Next
	
Next	


I hope those other two guys don't write example code for textbooks. :-)