thanks..swissi hinted at he is using these features in a custom Fusion 360 post.. i hope he shares with everyone as it sounds interesting..tblough wrote: ↑Tue May 14, 2019 11:23 am Keith,
It looks like swissi is just trying to apply good programming practice to his macro files. Since string variables are global and only cleared on restart of the machine, he wants to clear them after he is done using them so that the next macro to use the variable (if it happens before the machine is restarted) does not potentially get bad data. Unlike the numerical variables, there currently is not a way to set a string variable to it's initial "empty" state.
today we added this to CNC12 "You can now initialize User String Variables (#300-#399) to an empty string. (i.e. #300 = "")"
and will be included with v4.16