The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: GUAN DE DIO on September 30, 2008, 09:35:38 PM

Title: problem using Macros, Help please
Post by: GUAN DE DIO on September 30, 2008, 09:35:38 PM
Hi everybody,


    I'm working with  Alt_If_en.mac. This is a set of macros to use a new @IF..@ELSE..@ENDIF.

    I'm working on 64 bits, and the current macros .if   .else .endif  don't work so It was my salvation.

     The problem is that in my code I use a lot of this macros, and I am in a point that if I add a new @IF structure the compilation faults. I think some internal variable use for these macros are in overflow.

      The variables are declared as follows

@LABEL MACRO Label
  IFNDEF Label&_count
    Label&_count = 0     ; <= Variable
  ENDIF
  EXITM <@CatStr(Label, <_>, %Label&_count)>
ENDM


Is it possible to declared this variable as unsigned, long or something with more capacity ?

Best Regards,

GUAN