Request : if local myint:int = somefunc()

BlitzMax Forums/BlitzMax Programming/Request : if local myint:int = somefunc()

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Read what I said :)
local myint:int = SomeFunc()
if myint = 1
print "the myint was initialized with the number 1"
end if


I was suggesting that it be possible to set a variable and test the value set on the same line, yes.