Tags: Programming Language.

GOSUB is a command in many versions of the BASIC computer programming language. A GOSUB statement jumps to a line elsewhere in the program. That line and the following lines up to a RETURN are used as a simple kind of a subroutine without (sometimes with) parameters or local variables. The GOSUB command may be used to emulate subroutines in a BASIC dialect that does not support subroutines in its syntax.

Loading...

This page contains content from the copyrighted Wikipedia article "GOSUB"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.