Just a small request. It would be great (for shorthand) if blitz were able to do this..
This is how you have to do it at the moment
Currently you can do it with for loops:
It is purely for shorthand, but it would be nice.
function SomeFunc() return rand(0,9) end function if local myint:int = SomeFunc() = 1 print "the myint was initialized with the number 1" end if
This is how you have to do it at the moment
local myint:int = SomeFunc() if myint = 1 print "the myint was initialized with the number 1" end if
Currently you can do it with for loops:
for local:i = 0 to 10 print "i = "+i next
It is purely for shorthand, but it would be nice.