Report Bugs Here

Moderator: Mmiscool

User avatar
By xtal
#33298 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