Re: [Emc-developers] Booleans in INI files.

2020-04-11 Thread Nicklas Karlsson
{FALSE, TRUE} is common for booleans but do not know for linuxcnc. > Some booleans in INI take "ON", for example TWOPASS. > Others take "1" and "0" > > There is a suggestion in the code that YES / NO / OFF / ON might be > expected to work: >

[Emc-developers] Booleans in INI files.

2020-04-10 Thread andy pugh
Some booleans in INI take "ON", for example TWOPASS. Others take "1" and "0" There is a suggestion in the code that YES / NO / OFF / ON might be expected to work: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/ini/emcIniFile.cc#L50 But I am not sure that it does, having experimented a