GOTO
Description
Transfers control from one statement in a script to another
statement that is labeled.
Syntax
|
1 |
GOTO <span>label</span> |
|
Parameter |
Description |
|---|---|
|
label |
The label associated with the statement |
Examples
[Example 1]
This GOTO statement skips over the Taxable=FALSE line:
|
1 |
Goto NextStep<br>Taxable=FALSE   //This statement never executes.<br>NextStep:<br>Rate=Count/Count4 |
[Example 2]
This GOTO statement transfers control to
the statement associated with the label OK:
|
1 |
GOTO OK<br>.<br>.<br>.<br>OK:<br>.<br>.<br>. |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest