ON GOTO action


Function
The action implements a multiple branch.
Declaration
 ON expression   GOTO Label1 [,Label2, ... ,Label10]
Parameters
expressioninExpression of Int type.
label1, label2, ..., label10inLabels. Maximum: 10.
Description
labelX - the label, to which the script jumps, where the value of the expression expression is X. The maximum number of labels is 10. For example, if the value of expression is 3, the script jumps to the label Label3. If the value of the expression expression is greater than the label number, the script interpreter ignores the action and continues executing the following action.

Related pages:

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .