'Error when using := with if statements. I thought we were supposed to use them with those?
'this part works
int x, y
y = 0
string s = ""
for x = 1 to 25
y++
if y = 20 then
y = 0
end if
s+= "x " x " y " y chr(10) chr(13)
next
print s
'this doesn't work
quad i, j
j = 0
s = ""
for i = 1 to 25
j++
if j := 20 then
j = 0
end if
s += "i " i " j " j chr(10) chr(13)
next
print s
'this works
j = 0
s = ""
for i = 1 to 25
j++
if j = 20 then
j = 0
end if
s += "i " i " j " j chr(10) chr(13)
next
print s