function return $string ?

Blitz3D Forums/Blitz3D Beginners Area/function return $string ?

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.

Your example code will not work even if you correct the spelling error. It is certainly possible to return a string from a function though:

Print gettext$()

Function gettext$()
Return "this is returned text"
End Function