Hey guys
I'm trying to figure out how to use CATSTR or @Catstr, i've never needed to use this before as i always use Invoke lstrcat but now i want to try and use it.
Can anyone post a simple example of using these ? The examples in MASM help files dont seem to work for me (maybe i'm missing somthing out).
Thanks
-Nonameo-
Hi Nonameo,
Welcome to the forum.
From MASM Programmer's Guide , Chapter Nine: Using Macros:
http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/ProgrammersGuide/Chap_09.htm
Quote
CATSTR
Concatenates one or more strings to a single string.
num = 7
newstr CATSTR <3 + >, %num, < = > , %3 + num ; "3 + 7 = 10"
assign the string "3 + 7 = 10" to newstr.
Hi Nonameo,
You can find multiple examples using CATSTR in \masm32\macros\macros.asm.