BackHomeContact Us

 

Code Example

gosub

 

Syntax

gosub line

 

Function

Branches to subroutine starting at line number specified by line.

 

Controller Returns

None

 

Mode

Run
 

Example

gosub 100

rem other commands

end

100 rem commands

return

 

Code Example

return

 

Syntax

return

 

Function

Ends a subroutine and causes execution to resume at the statement after the line that called the subroutine. 

 

Controller Returns

None

 

Mode

Run

 

Example

gosub 100

rem other commands

end

100 rem Subroutine starts here

return

 

 


 

www.OESIncorp.com

Copyright ©  2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.