STRUCT - allocate a structure.
Usage:
struct name,size[,offset]
Where:
- name
- is the name of the structure to be allocated. If the name
is to be SYMDEFed, it must be done separately.
- size
- is the size of the structure to be allocated. This value
is the true size, not the value of the maximum subscript
of the structure.
- offset
- is an optional offset applied when the symbol is defined.
Its default value is zero. Offset "+1" will
allow "name-1" to be valid.
Description:
STRUCT is used to allocate space and guarantee that the space
is initalized to zero. The macro FIELD is designed to be used to
set values within the space allocated. The two macros were
designed to allow the building of static structures whose fields
may change location.
See Also:
- expl b bmac field
- for a description of setting fields within the allocated
structure.
- expl b bmac enum
- for automatic incremental numbering of manifest symbols.
Copyright © 1996, Thinkage Ltd.