[next] [previous] [contents]

  14.5.1 MAP Statement
  Normally, a record is divided into predetermined fields, the
  sizes of which are known at compile time. The MAP state-
  ment creates the storage area for this record and determines
  its total size. The following examples show how the MAP
  statement creates the record storage area:

  Example 1
  RECORD name_addr
      STRING last_name = 15, &
                street_name = 30, &
      INTEGER house_num
  END RECORD
  MAP (student_buffer) name_addr student_info

  Example 2
  MAP (Emp_rec)
        STRING Emp_name = 25, &
        LONG Badge, &
        STRING Address = 25, &
        STRING Department = 4