Hello Guest it is March 28, 2024, 05:45:06 AM

Author Topic: How do you set pound variables to #0 in LUA?  (Read 1221 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
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
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