populating the array?

BlitzMax Forums/BlitzMax Beginners Area/populating the array?

Amon_old(Posted 2004) [#1]
		For x = 0 To 35
			For y = 0 To 21
				map[x,y] = 1
			Next
		Next


Ok, heres what the problem is. The above code should populate each element of the array and assign it the value 1. Correct or Incorrect?


Amon_old(Posted 2004) [#2]
Fixed. It was an error created by using "{" instead of "(".
:/