◄Up► ◄Contents► ◄Index► ◄Back► ─────RECORD───────────────────────────────────────────────────────────────── Action Declares a variable as a structure type. Syntax RECORD /type_name/ vname [ [attrs] ] [(dim)] [, vname[ [attrs] ] [(dim)] ]... Parameter Description type_name Name of a previously defined structure. vname Name for the new variable. [attrs] A list of attributes for the variable, separated by commas. dim A dimension declarator for specifying the variable as an array. Remarks STRUCTURE defines a new data type. RECORD assigns this new data type to a variable. RECORD statements must precede all executable statements. See Also: ◄STRUCTURE► Example STRUCTURE /address/ LOGICAL*2 house_or_apt INTEGER*2 apt INTEGER*2 housenumber CHARACTER*30 street CHARACTER*20 city CHARACTER*2 state INTEGER*4 zip END STRUCTURE RECORD /address/ mailing_addr[NEAR](20), shipping_addr(20) -♦-