'graphics' instruction bug?
Posted: Sun Feb 11, 2018 3:23 am
Hi there - new to this exciting alternative for the ESP8266. I've been able to successfully flash an ESP chip; connect to it and have tried a couple of really simple examples with no problems. Thought I'd try a graphics example and so 'cut-n-paste' the code for the Graphics Clock. I saved it as 'clock.bas' but when I try to run it, it throws an error: Error at line 4: Failed to reach end of input expression, likely malformed input - Error at line 4: Syntax error - Error at line 4: Halted
I checked with the language reference and can't see any problems with the command, which appears to be <graphics 500, 500> I've tried a few simple gotchas - i.e no space between the two variables, colon after the command; different values (100, 100) etc, but all to no avail. I then tried to use the simpler example - 'graphics example'. Exactly the same thing, except this time the error is at line 3 - the same command! So, I can only conclude that this command has a bug associated with it? Any comments, please? Many thanks - Mike
I checked with the language reference and can't see any problems with the command, which appears to be <graphics 500, 500> I've tried a few simple gotchas - i.e no space between the two variables, colon after the command; different values (100, 100) etc, but all to no avail. I then tried to use the simpler example - 'graphics example'. Exactly the same thing, except this time the error is at line 3 - the same command! So, I can only conclude that this command has a bug associated with it? Any comments, please? Many thanks - Mike