if i have this struc


struc ApiNames
{
.Name:times 18 db ?+0
.NameSize = $ - .Name
}


how would i define an array of ApiNames and give them values at design time
would it be like this...?


ArrayName ApiNames 'NameofApi',,'Nameofnextapi'

i dont think this will work tho because of different length of api names so this is one of my problems i need to remedy. any help with these two problems would be great:confused:
thanx
Posted on 2003-02-17 01:53:34 by keyoke
this looks like fasm code...you're most likely to get your answer in the fasm forum.

in masm i wrote a macro which allows you to build an array of strings.check this post
I'm not sure if there's an equivalent for fasm but you could always try to port the masm macro to fasm, you can check Privalov(the author of fasm) to see what this entails.
Posted on 2003-02-17 04:39:11 by MArtial_Code
urm, I wonder why this thread lives outside from Fasm section :confused:
Posted on 2003-02-17 04:41:37 by Bi_Dark