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

2007-11-29 Thread Marko Kull
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 PROTECTED] <m

[Axapta-Knowledge-Village] Help with macro?

2007-11-26 Thread Marko Kull
Hi. I have a question about macro IF. My code is something like this: inti; #LOCALMACRO.doInfo #DEFINE.ARG(1) #IF.ARG(%1) print("Reached here"); #ENDIF #ENDMACRO or #LOCALMACRO.doInfo #DEFINE.ARG(%1) #IF.ARG(1) print("Reached here"); #ENDIF

[Axapta-Knowledge-Village] How to create http request?

2007-10-19 Thread Marko Kull
Hi. I consider mysqlf quite experienced in axapta, but now I'm faceing a simple problem. How can I create a simple http request? I mean something like adding a comment to some article? In HTML it looks something like this: Here goes a big XML text, actually includes needed request paramet