Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: a3dcreator on August 28, 2018, 04:57:34 PM

Title: How do you set pound variables to #0 in LUA?
Post by: a3dcreator 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.
Title: Re: How do you set pound variables to #0 in LUA?
Post by: joeaverage 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
Title: Re: How do you set pound variables to #0 in LUA?
Post by: a3dcreator on August 29, 2018, 10:55:37 PM
I guess ill have to use mc
CtlgcodeExecutewait   .
And set it using macro variables