The bracket < ... > are used to initialize data, like in a struct:

But then in the following example:
wsprintf equ <wsprintfA>

Why not use wsprintf equ wsprintfA directly?
Would it be like saying
wsprintfA equ <PROTO C :DWORD, :VARARG>
, as that has been the value already given to wsprintfA?
Posted on 2002-08-06 11:29:56 by slop
I am guessing both work.
Posted on 2002-08-06 11:30:57 by comrade
Yes, but how? Or why?
Do you know the logic behide it?
Posted on 2002-08-06 11:34:04 by slop
<> means a text
without <> means a value

Posted on 2002-08-06 11:54:23 by stryker
For macros <> is used to enclose strings.
wsprintf is replaced by the string "wsprintfA".

Posted on 2002-08-06 11:54:55 by bitRAKE
lol :grin: I was busy scaling my new avatar. It was just in time I finished uploading it and was able to reply. :p
Posted on 2002-08-06 11:58:01 by stryker
bitRAKE, wouldn?t
wsprintf equ wsprintfA

Or better
wsprintf equ "wsprintfA"
to tell the assembler that it?s aliteral (not a numeric value)?
Posted on 2002-08-06 12:11:20 by slop
remember the logic behind it. It will still work but your destroying the logic use of the brackets.

" " and ' ' IMO should only be used on strings placed on the data/code section.

You can redefine the standards if you want to, there is nothing wrong with it.
Posted on 2002-08-06 12:14:25 by stryker
Thanks stryker
Posted on 2002-08-06 12:18:09 by slop
That's my sig. That's the favorite quote of stewie from the cartoon: Family Guy. :grin:

stewie is my favorite character. :grin:
Posted on 2002-08-06 12:19:21 by stryker
Okay, I?m not american, haven seen them yet ;)
Posted on 2002-08-06 12:20:04 by slop