variable 'macro' used inside js inline

Just starting out? Need help? Post your questions and find answers here.
pf shadoko
Posts: 74
Joined: Thu May 26, 2016 11:09 am

variable 'macro' used inside js inline

Post by pf shadoko »

hello,

is there a way to do this kind of thing with a macro ?

Code: Select all

Macro test(nn)
    !v_nn=1;
EndMacro

test(n)
Debug n
Sirius-2337
Posts: 35
Joined: Wed Mar 26, 2014 5:47 pm

Re: variable 'macro' used inside js inline

Post by Sirius-2337 »

Code: Select all

Macro test(nn)
    !v_#nn = 1;
EndMacro

test(n)
Debug n
pf shadoko
Posts: 74
Joined: Thu May 26, 2016 11:09 am

Re: variable 'macro' used inside js inline

Post by pf shadoko »

thank you
Post Reply