DTRHELP.HLB  —  Commands Statements Clauses, THEN Statement
       Joins two or more DEC DATATRIEVE statements into a compound
       statement.

       Format

         statement-1  {THEN  statement-2}  [...]

1  –  Argument

    statement

       Is a DEC DATATRIEVE statement.

2  –  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