Can "Return" return more than 1 variable?

BlitzMax Forums/BlitzMax Beginners Area/Can "Return" return more than 1 variable?

Sure can, use Var's. For instance if you want function apple to return seed and pip then you would do something like:

Function Apple(applecount:int, seed:int var, pip:int var)

      seed = applecount * 5
      pip = seed * 1

End Function