3.5beta2 looping jam
-
Good morning @dc42,
It's possible that this has already been reported or it's my fault, but in case it wasn't, I'm mentioning it here
I was doing some write tests with this code (simplified):
var cont = 1 var material = "ABS" echo >"fff" ";NEW" echo >>"fff" "" while var.material != "FIN" if var.cont = 1 set var.material = "ABS" if var.cont = 2 set var.material = "ASA" if var.cont = 3 set var.material = "FLEX" if var.cont = 4 set var.material = "NYLSTRONG" if var.cont = 5 set var.material = "PET-G" if var.cont = 6 set var.material = "PLA" if var.cont = 7 set var.material = "PP" if var.cont = 8 set var.material = "TPU_HARDNESS" if var.cont = 9 set var.material = "FIN" if var.material != "FIN" echo >>"fff" " <!--***-->" echo >>"fff" " <!--"^{var.material}^"-->" echo >>"fff" " <!--***-->" set var.cont = var.cont+1 M400 echo >>"fff" " FINIS"
Board: Duet 3 MB6HC (MB6HC)
Firmware: RepRapFirmware for Duet 3 MB6HC 3.5beta2 (2023-02-08)
This was the error message: Error: Bad command: hile var.material != "FIN"
Could not get out of the while, am I doing something wrong, I didn't take something into account?Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.5 (2022-11-30)
Yes it worked, no problemsI'll look forward to your comments
Best regards
Aitor -
@Aitor it's been fixed already and there's a new build here https://forum.duet3d.com/post/307796
-
-
-