User Tools

Site Tools


en:return

Return (Statement)

Format

In the context of a gosub and within a Subroutine:

return

In the context of a Function:

return numeric_expression
return string_expression

Description

The return statement is used with the GOSUB statement to return control to the next statement, within a SUBROUTINE to return control from the subroutine, or with a FUNCTION to return a value to the calling code.

See Also

History

0.9.9.1Added to subroutine a function
en/return.txt · Last modified: 2020/02/28 10:46 (external edit)