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.
DUP
◄Operator Summary► ◄Summary► ◄Example►
──────────────────────────────────────────────────────────────────────────────
Syntax: count DUP (initialvalue [,initialvalue]...)
Defines data structures. Specifies (count) number of declarations of
initialvalue. Arrays, buffers, and other data structures consisting of
multiple data objects of the same size can be defined with the DUP
operator. Creates an operand for use with data-definition directives.
DUP operators can be nested up to 17 levels.
count Number of declarations of initialvalue.
initialvalue The undefined symbol (?), another DUP operator, or
expression that evaluates to an integer value or
character constant. Multiple initial values must be
separated by commas.
See Also: DB, DW, DD, DT, DQ
-♦-