Skip to main content
Previous sectionNext section

<CSP:QUIT>

Quits the containing <CSP:WHILE> or <CSP:LOOP> block.

Synopsis

<CSP:QUIT>

Attributes

General Attributes

Attribute Description Value
none    

Description

The <CSP:QUIT> quits the containing CSP:WHILE or CSP:LOOP block. For example:

  <CSP:WHILE COUNTER=x CONDITION="(x<10)">
    <CSP:IF CONDITION="(x>3)">
    <CSP:QUIT>
    </CSP:IF>
    Item #(x)#
  </CSP:WHILE>
Copy code to clipboard

Will produce the following result:

  Item 1
  Item 2
  Item 3
Copy code to clipboard