You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using a Single Board Computer (RaspberryPi) with your Duet?
Yes I use a SBC.
No I do not use a SBC.
What happened?
In the following macro:
var bedTemp=40
if var.bedTemp < 30
set global.soakTime = 180
; test
elif var.bedTemp < 50
echo "less than 50"
the un-indented "; test" line causes the parser to report that the "elif" line is not within an if-command. It works correctly if the comment line is indented.
The text was updated successfully, but these errors were encountered:
dc42
changed the title
In-indented comment lines causes if- and while- command blocks to end prematurely
Un-indented comment lines causes if- and while- command blocks to end prematurely
Jun 2, 2023
Duet Forum Discussion Thread
https://forum.duet3d.com/topic/32583/macro-does-not-properly-recognize-as-a-comment-line
Firmware Version
3.4.0, 3.5.0beta.3
Are you using a Single Board Computer (RaspberryPi) with your Duet?
What happened?
In the following macro:
the un-indented "; test" line causes the parser to report that the "elif" line is not within an if-command. It works correctly if the comment line is indented.
The text was updated successfully, but these errors were encountered: