global variables fail if they contain '_'
-
Global variables don't seem to work on my machine if the variable name is defined containing a '_' (but work otherwise).
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 3.3.0
Firmware: RepRapFirmware for Duet 3 MB6HC 3.3 (2021-06-15)This (in the end of my config.g) fails:
; test variables global noz_t = -1 set global.noz_t = 99 echo global.noz_t
Gives me "Error: expected '=' in line 121 of config.g", line 121 being the 'global noz_t = -1'
However, this instead works fine:
; test variables global nozt = -1 set global.nozt = 99 echo global.nozt
https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands#Section_Variable_naming says that "The remaining characters must be letters, digits or the underscore character", but that doesn't seem to be the case.
-
Currently there is a problem with using the underscore character when running in "SBC" mode.
The developers are aware of the problem and it should be fixed when 3.4 is released.
Frederick