◄Up► ◄Contents► ◄Index► ◄Back► ─────MAP...END MAP────────────────────────────────────────────────────────── Action Delimits a group of variable declarations within a STRUCTURE statement. Syntax MAP type-declaration(s) . . . END MAP Parameter Description type-declaration A variable or RECORD declaration Remarks A MAP...END MAP block must appear within a UNION...END UNION block. MAP variables are stored in memory contiguously, in the order of their appearance. A UNION block must have at least two maps. The UNION block assigns two or more maps to the same memory location. See Also: ◄STRUCTURE...END STRUCTURE► ◄UNION...END UNION► Examples Within a structure, maps can contain variables of intrinsic type: UNION MAP CHARACTER*20 string END MAP MAP INTEGER*2 number(10) END MAP END UNION Or they can contain variables with types defined in previous STRUCTURE statements: UNION MAP RECORD /Cartesian/ xcoord, ycoord END MAP MAP RECORD /Polar/ length, angle END MAP END UNION -♦-