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─┬─index-name-1─┬─TO─┬─index-name-2─┬───
             └─identifier-1─┘    ├─identifier-2─┤
                                 └─integer-1────┘
                                    -♦-