DTRHELP.HLB  —  Commands Statements Clauses, THEN Statement, Example
       The following example uses a THEN statement to join a PRINT
       statement and a MODIFY statement in a FOR loop:

       DTR> SET NO PROMPT
       DTR> READY YACHTS MODIFY
       DTR> FOR YACHTS WITH BUILDER EQ "ALBIN"
       CON>     PRINT THEN MODIFY

                                     LENGTH
                                      OVER
       MANUFACTURER   MODEL     RIG   ALL   WEIGHT BEAM  PRICE

        ALBIN       79         SLOOP  26     4,200  10  $17,900
       Enter MANUFACTURER: <CTRL/Z>
       Execution terminated by operator

       DTR>
Close Help