GOTO
Syntax
GOTO label
Description
Skips to the specified label.
Labels must end with a colon (:) and can appear anywhere within the same section or paragraph as the GOTO command.
Parameters
| Parameter | Description |
|---|---|
|
label |
Specifies a label within the same section or paragraph. |
Example
The following example illustrates the GOTO command:
begin-select
price
if &price < #old_price
goto next
end-if
print &price (2,13,0) edit 999,999.99
...
next:
add 1 to #count
from products
end-select