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

CONTINUE – PB Docs 150 – PowerBuilder Library

CONTINUE – PB Docs 150

CONTINUE

Description

In a DO…LOOP or a FOR…NEXT control
structure, skips statements in the loop. CONTINUE takes
no parameters.

Syntax

Usage

When PowerBuilder encounters a CONTINUE statement
in a DO…LOOP or FOR…NEXT block,
control passes to the next LOOP or NEXT statement.
The statements between the CONTINUE statement
and the loop’s end statement are skipped in the current
iteration of the loop. In a nested loop, a CONTINUE statement
bypasses statements in the current loop structure.

For information on how to break out of the
loop, see EXIT .

Examples

[Example 1]

These statements display a message box twice: when B equals
2 and when B equals 3. As soon as B is
greater than 3, the statement following CONTINUE is
skipped during each iteration of the loop:

[Example 2]

These statements stop incrementing B as
soon as Count is greater than 15:


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