-->
Page 2 of 2

Re: Basic v1.20

PostPosted: Fri Nov 06, 2015 10:57 am
by Mmiscool
Try the latest build. Build 1.20 is old.

Re: Basic v1.20

PostPosted: Fri Nov 06, 2015 5:42 pm
by xtal
Loaded v1.23 Have simplfied code and instr() still giving 0,0 sb 3,3

I'm leaning toward wprint instr() compatibility ????

Code: Select allmycommand = " "
rfh = 15
wprint "<meta http-equiv='refresh' content="
wprint htmlvar(rfh)
wprint "rfh >"

wprint "<body><div>"
wprint "<table bgcolor='Lawngreen' border='1' cellpadding='5'>"
wprint "<th><h1>ESP8266 Blinker Thing!</h1></th>"
wprint "<td><IMG SRC ="
wprint htmlvar(Ipage)
wprint " LEFT='1' WIDTH='120' HEIGHT='60' BORDER='1'></td>"
wprint "<th id='countdown'>"
wprint htmlvar(rfh)
wprint "</th></table><br>"
WPRINT "<BR>CMD:"
textbox mycommand
button "SUBMIT" [SUBMIT.BRANCH]
wprint "<br>
wait
 
[SUBMIT.BRANCH]
mycommand = "eerfh25xx"
x = instr(mycommand,"rfh")
print x
serialprintln x
wait