The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: slovach on December 22, 2007, 10:06:32 AM

Title: declaring an array
Post by: slovach on December 22, 2007, 10:06:32 AM
Is there a way to declare an array in a similar style to this in MASM, or an equally neat way to do it?

DWORD dongs[] = { 0x00000001, 0x00000002, 0x00000003 }
Title: Re: declaring an array
Post by: Rockoon on December 22, 2007, 11:11:17 AM
dongs dd 1h, 2h, 3h
Title: Re: declaring an array
Post by: slovach on December 22, 2007, 08:44:15 PM
I should have figured it was as simple as that. :)

thanks