Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

EXIT – PB Docs 125 – PowerBuilder Library

EXIT – PB Docs 125

EXIT

Description

In a DO…LOOP or a FOR…NEXT control
structure, passes control out of the current loop. EXIT takes
no parameters.

Syntax

Usage

An EXIT statement in a DO…LOOP or FOR…NEXT control
structure causes control to pass to the statement following the LOOP or NEXT statement.
In a nested loop, an EXIT statement passes control
out of the current loop structure.

For information on how to jump to the end of
the loop and continue looping, see CONTINUE .

Examples

[Example 1]

This EXIT statement causes the loop to
terminate if an element in the Nbr array equals
0:

[Example 2]

This EXIT statement causes the loop to
terminate if an element in the Nbr array equals
0:


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