[↑]
GOSUB
Jump to the specified label position
GOSUB @Label
GOSUB String
・Unlike GOTO, the RETURN command returns to the next command of GOSUB.
Arguments
@Label
Jump destination label
String
You can also specify a string with a label name instead of a label.
・Program slot specification is possible in the format of "1:@LabelName".
・When specifying a program slot, make sure that the program in the target slot executable with the EXEC command in advance.
Example
GOSUB @SUB
JP$="@MAIN":GOSUB JP$
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the
official reference site
of the
SmileBoom Co.Ltd.
that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it.
For automatic update, contents may become improper.
Please confirm the correct content in an official site.
June 3, 2020
by mim
OK
|