cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SET (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Verb:         SET
 
  Function:     Assigns a value to an item of a type used for program
                control rather than data storage; that is index-name,
                condition-name, switch, or data item of USAGE INDEX,
                POINTER or PROCEDURE-POINTER.
 
  Syntax:       Which format?  Index           Index UP/DOWN
                                Condition-name   Switch
                               ADDRESS         Pointer UP/DOWN
                               Procedure pointer
 
             ┌───────────────┐
             ▼               │
     ──SET condition-name-1──TO─┬─TRUE──┬──
                                  └─FALSE─┘
                                    -♦-