Multiple Returns?

BlitzMax Forums/BlitzMax Programming/Multiple Returns?

Thanks!

I have been returning Types, Lists and Arrays. The Var command was what I was looking for. In some cases that is more clean.

@ Beaker, did you know you can do it like this directly?
For Local Thing = EachIn LocationA()
    Print Thing
Next

Function LocationA:Int[]()
     Return [3,4,5,6,7,8]
End Function


Where can I find the var command in the reference?