-->
Page 1 of 1

What does the "wait" command do??

PostPosted: Tue Nov 17, 2015 12:09 am
by heckler
Thank you so much for your efforts to create this BASIC for the esp8266!!

As I view various example programs posted here, I often see the "wait" statement at the end of a section of code.

I could not find the "wait" command in the command reference.

Could you please explain what "wait" does?

Also please consider changing the command reference to just an alphabetical listing of all the BASIC statements. It is somewhat difficult to go through each category to try and find a given command.

It might make it easier for you to maintain the command list, as well.

Or possibly just adding an alphabetical listing in addition to what you have there.

:o :evil: :mrgreen:
I apologize in advance.. as I am sure your plate is full as it is.
Only do the above if it is easy to implement.

Thanks again for your efforts.

dwight

Re: What does the "wait" command do??

PostPosted: Tue Nov 17, 2015 9:41 am
by heckler
d'ooooh,

I just found the "wait" command under "web interface" category in the language reference.

I had no idea it would be there... I thought it was more of a Base Command like "let" or "for/next"

dwight

Re: What does the "wait" command do??

PostPosted: Tue Nov 17, 2015 5:46 pm
by Mmiscool
The wait command returns the html buffer to the browser.

This is why when you click a button and the branch for that button dose a wprint the browser gets the new information.

If the interpreter is not in a wait state you can not accesses any of the web interface stuff.