GOTO – PB Docs 2021

GOTO

Description

Transfers control from one statement in a script to another
statement that is labeled.

Syntax

Parameter

Description

label

The label associated with the statement to which you
want to transfer control. A label is an identifier followed by a
colon (such as OK:). Do not use the colon with a label in the GOTO
statement.

Examples

Example 1

This GOTO statement skips over the Taxable=FALSE line:

Example 2

This GOTO statement transfers control to the statement associated
with the label OK:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x