forlang.hlp (Table of Contents; 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.
STRUCTURE...END STRUCTURE
                                             Up Contents Index Back
─────STRUCTURE...END STRUCTURE──────────────────────────────────────────────
 
     Action
 
     Defines a compound variable type from other variable types.
 
     Syntax
 
     STRUCTURE /type_name/
        element_declaration(s)
        .
        .
        .
     END STRUCTURE
 
     Parameter            Description
 
     type_name              The name for the new data type.
 
     element_declarations   Any combination of variable-typing
                            statements and UNION constructs. Can
                            include previously defined structure
                            types in RECORD declarations.
 
     Remarks
 
     The STRUCTURE statement defines a new variable type. Use the
     RECORD statement to declare a variable of a particular structure
     type.
 
     Elements within a STRUCTURE cannot be declared with attributes
     (such as FAR).
 
     Element names are local to the structure in which they appear.
 
     Specify a structure element by placing a period between the name
     of the variable with that structure type and the element name.
 
     For instance: full_name.first_name
 
     A structure can be no longer than 65,536 bytes.
 
     See Also:  MAP...END MAP
                RECORD
                UNION...END UNION
                $PACK
                                    -♦-