Goto
GotoIfEqual
142 Other Installation Options
Syntax
Goto <label_name>
Description
Goto causes execution to continue at the first occurrence of label
<label_name>.
The scope of a label is always local to a file set. Therefore, a Goto statement
cannot transfer execution to a file set different from the current one.
Example
Goto Done
Label Done
The statement Goto Done will cause execution to continue at the label Done.
Syntax
GotoIfEqual <larg1>, <arg2>, <label_name>
Description
GotoIfEqual causes execution to continue at the first occurrence of Label
<label_name> if <arg1> is equal in value to <arg2>. Both <arg1> and
<arg2> must be integers.
The scope of a label is always local to a file set. Therefore, a Goto statement
cannot transfer execution to a file set different than the current one.
Example
GotoIfEqual 0, 1, Error
Goto Done
Label Error
Since 0 is not equal to 1, execution will not continue at label Error.
NOTE:
GotoIfEqual performs an integer comparison, not a string comparison.
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?