RE: [Axapta-Knowledge-Village] Help with macro?

2007-11-29 Thread Marko Kull
. From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manoj manoharan Sent: 26. november 2007. a. 14:53 To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re: [Axapta-Knowledge-Village] Help with macro? Now try this piece of code. Dont

Re: [Axapta-Knowledge-Village] Help with macro?

2007-11-26 Thread manoj manoharan
Now try this piece of code. Dont give parameters while you are calling the macro. int i; #LOCALMACRO.doInfo #DEFINE.ARG(1) #IF.ARG print("reached"); pause; #ENDIF #ENDMACRO ; i = 1; #doInfo(1)// -- this works (prints) #doInfo(i) Thanks Manoj - Original Message From: Marko Kull <[EMAIL