Return value from a function

Blitz3D Forums/Blitz3D Beginners Area/Return value from a function

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.

Or just use globals:
Global value1
Global value2
return_two_vars()
print value1 +" "+ value2
WaitKey()
End
Function return_two_vars()
  value1=Millisecs()
  value2=77
End Function








The brand new [codebox], smart right?