Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
FOCAL (programming language)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====DO==== The {{code|DO}} command (abbreviation D) branches execution to a subroutine. It is the equivalent of BASIC's {{code|GOSUB}}. The subroutine is referenced either by group number or line number. If a line number is provided, that single line is run and then automatically returns to continue execution at the statement after the {{code|DO}}. If no line number is provided, execution starts at the first line of the block and continues until the end of the block is reached. {{code|RETURN}} is supported, but is only required to return early from the group, it is not needed at the end of the group.{{sfn|Manual|1968|p=3.4}} 01.15 DO 7.24 01.16 DO 8
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)