Navigation:  Reference > Commands >

Goto Label

Print this Topic Previous pageReturn to chapter overviewNext page

 

This command will permanently transfer control to a different part of the program.  The first line of that routine must be a standard line label.

 

 

GOTO labelRequired - Transfer control to the line label.

 

 

COMMENTS

This command, as opposed to the GOSUB, has no automatic way to return.  You must use another GOTO to return to the next command, if desired.  Generally, this command is used only in situations where you do not want to execute the lines following this command (see also {..}).

 

This command is not part of the regular structured commands that a programmer would use in creating a program.  Much effort has been made in TAS Professional so that this command need not be used at all.  However, it remains here for those times you find it the expedient choice.

 

 


Page url: http://www.cassoftware.com/tas/manual/gotolabel.htm