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
-♦-