Page 1 of 1

System #vars value at startup

PostPosted: Fri Dec 09, 2016 7:27 am
by beefy
Hi Balazs,

would I be correct in assuming all system #vars would initialise to zero at system startup.

Also would it be bad programming practise to assume this, and should I have the Constructor Macro initialise any #vars I use to zero.

Keith

Re: System #vars value at startup

PostPosted: Fri Dec 09, 2016 9:06 am
by cncdrive
Hi Keith,

The UCCNC sets all #vars values to zero on startup.

Re: System #vars value at startup

PostPosted: Fri Dec 09, 2016 1:08 pm
by beefy
Perfect, thanks Balazs.

That's what I was hoping for.

Keith