The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: iaNac on September 08, 2006, 02:10:34 AM

Title: Please help with STRING macro.
Post by: iaNac on September 08, 2006, 02:10:34 AM
I've seen the following line generated by Prostart but I can't find the
macro in any of MASM32's help files or in Iczelion's tutorials. 

STRING    szClassName,"Prostart_Class"

Where can I get more info on its implementation?
Title: Re: Please help with STRING macro.
Post by: hutch-- on September 08, 2006, 02:56:41 AM
iaNac,

Welcome on board. The STRING macro is in the MACROS.ASM file in the macros directory in masm32. It effectively does this.


  .data
    szClassName db "Prostart_Class",0    ; note zero terminator
  .code
Title: Re: Please help with STRING macro.
Post by: iaNac on September 10, 2006, 03:38:59 AM
hutch,

Thanks, I hadn't opened that file until you pointed it out.  Got some more reading to do now.