News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DUP used with a structure

Started by Twister, July 28, 2010, 07:03:44 AM

Previous topic - Next topic

Twister

How could I use DUP to make multiple structures?

I have tried this, but it doesn't look right, and I do get an error for it.
_SLOT STRUCT
    ...
_SLOT ENDS

.data?

    SLOTS _SLOT 1000 DUP (?)

sinsi

_SLOT STRUCT
    ...
_SLOT ENDS

.data?

    SLOTS _SLOT 1000 DUP (<>)

Structure elements are within angle brackets <>
Light travels faster than sound, that's why some people seem bright until you hear them.

Twister

Oh great that fixed it. Thank you.  :green