Enter short text


Author Message
rea23
Newbie

Joined: 16/09/2022
Location: Switzerland
Posts: 26
Posted: 09:20am 04 Dec 2022      

@matherp:
Yes, we have to define what happens if mvolt < 220 (switch down).
But if I insert a line "IF mvolt < 220 THEN letter=letter" at the end inside the loop, the same behavior can be seen.

@phil99:
It's strange, but I get the error:

[31] Print If(mvolt > 220) And (mvolt < 3100) Then   'Read letter if no buttons pressed
Error : IF is not declared

And indeed, MM Edit or the interpreter knows nothing about a command IF or ENDIF/END IF. I don't no what happens.

Edit:
False alarm: After a restart of MM Edit the program works as intended. Thank you very much.
Edited 2022-12-04 20:47 by rea23