When splitting a statement across multiple lines like that you need to use line extension charachter ( _ ).
Section 2.17 in the manual.
When splitting a statement across multiple lines like that you need to use line extension charachter ( _ ).
Section 2.17 in the manual.
That feeling when you missed something totally obvious; well that's what I'm feeling right now.Code:if (COM_KHz_Remainder = 20) or _ (COM_KHz_Remainder = 45) or _ (COM_KHz_Remainder = 70) or _ (COM_KHz_Remainder = 95) then COM_KHz_Counter = COM_KHz_Counter + 5 endif
And then the REALLY dumb feeling is when you notice you were doing it properly on LCDOUT command all that time...
![]()
Last edited by Demon; - 26th August 2024 at 19:43.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks