- Joined
- Sep 21, 2005
- Messages
- 33
I have a random question, why do you have to declare integers as 1 or 0 or whatever before you use them in loops, i thought integers defaulted to 0 if you did not declare them but if i use code like:
local integer i
loop
exitwhen i==4
set i = i+1
endloop
anything i put in the loop or after it will not fire unless i declare i as 0 first.
local integer i
loop
exitwhen i==4
set i = i+1
endloop
anything i put in the loop or after it will not fire unless i declare i as 0 first.