A Basic Interpreter written from scratch for the ESP8266

Moderator: Mmiscool

User avatar
By Davidpurola
#40201 Is there some keyword that is available when programming in ESPBASIC to clear the current memory before loading in a new program? I have made changes in a small program by adding a line to two and deleting a line or two and found that the current program in memory is all goofed up. When I do a SAVE to the ESP8266 the gui says it is stored but when I look at the code from the gui after running it it is all goofed up. I would have thought when saving a program after making changes to it, it would reload the entire program. However it is NOT and it looks like it is just changing the contents of the modified routine. That in turn is leaving unwanted lines in the running code. Please HELP?

Dave Purola
User avatar
By forlotto
#40318 you have to click run again any time you update the code until you push that it keeps running the old code in memory hope this helps!

So the steps are.

Save new program
Run new program

you could also run by typing http://192.168.4.1/run or http://yournodesiphere/run depends if you are in AP mode or not!


If you are trying to clear memory within your program you need to clear it accordingly to mate with the flow of your code.
You can also clear the screen using cls....

Take Care!

Hope this answers your question correctly I may have misread your post.