Hello Guest it is October 21, 2021, 09:13:06 AM

Author Topic: How do you set pound variables to #0 in LUA?  (Read 727 times)

0 Members and 1 Guest are viewing this topic.

How do you set pound variables to #0 in LUA?
« on: August 28, 2018, 04:57:34 PM »
Hello everyone. Im wondering how to set a pound variable to #0
In mach4 lua. I know how to set a pound variable to a number.... but how
Do you do you set it to null?

Anyone try this before?

Thanks.
Re: How do you set pound variables to #0 in LUA?
« Reply #1 on: August 28, 2018, 08:59:06 PM »
Hi,
I'm not at all sure that's possible.

Remember pound variable are defined by Machs core. If Mach defines a pound variable (register) and
gives it an initial value it can no longer be null.

Craig
My wife left with my best friend...
     and I miss him!
Re: How do you set pound variables to #0 in LUA?
« Reply #2 on: August 29, 2018, 10:55:37 PM »
I guess ill have to use mc
CtlgcodeExecutewait   .
And set it using macro variables