qa.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.
STRUC
   Directive Summary  Summary  Example
──────────────────────────────────────────────────────────────────────────────
 
  Syntax:  name STRUC
                fielddeclarations
           name ENDS
 
  Declares a structure as a new data type. Conditional assembly blocks
  and comments are legal, but not nesting of other structures.
 
  name                A unique symbolic name; represents the structure
                      type. Structure variables can then be defined.
 
  fielddeclarations   Any valid data definitions (using DB, DW, etc.).
                      Initializers specify default values.
 
  Once a structure type is declared, you can use it to define variables,
  in which each field not initialized assumes the default value:
 
  [name]    structuretype   <[initializer [,initializer]...>
 
   See Also:  RECORD, ENDS
                                    -♦-