Problem with getting a variable from Main call.
Posted: Tue Aug 17, 2004 8:21 pm
Hey all,
I have a problem with passing a variable from the command line (i.e while launching the macro). Here is my code
If I do this and run my macro with /macro pof test I get:
but if I run my macro with /macro pof test I get:
I have a problem with passing a variable from the command line (i.e while launching the macro). Here is my code
Code: Select all
Sub Main
/declare Kitter character outer
/varset ${Kitter.Name} Param0
/echo Leader is ${Param0}
I tried doing a /varset ${Kitter.Name} ${Param0}[MQ2] Leader is
but if I run my macro with /macro pof test I get:
Any idea how I can do that please?/varset failed, variable 'test' not found