User Tools

Site Tools


en:return

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:return [2016/08/12 12:56]
admin
en:return [2020/02/28 10:46]
Line 1: Line 1:
-===== Return (Statement) ===== 
  
-==== Format ==== 
- 
-In the context of a [[gosub|gosub]] and within a [[subroutine|Subroutine]]: 
- 
-**return** 
- 
-In the context of a [[function|Function]]: 
- 
-**return** [[numericexpressions|numeric_expression]]\\ 
-**return** [[stringexpressions|string_expression]] 
- 
-==== Description ==== 
-The return statement is used with the [[gosub|GOSUB]] statement to return control to the next statement, within a [[subroutine|SUBROUTINE]] to return control from the subroutine, or with a [[function|FUNCTION]] to return a value to the calling code.   
- 
-==== See Also ==== 
-{{page>en:start#Program Control&noheader}} 
- 
-==== History ====  
-|0.9.9.1|Added to subroutine a function| 
en/return.txt ยท Last modified: 2020/02/28 10:46 (external edit)