Page 1 of 1

ARMweb variable access

Posted: Mon Feb 11, 2013 2:04 pm
by YahooArchive
I'm new to this and I'm having trouble understanding the syntax on how to use
the ARMweb when it comes to moving variables to and from the webpage.
Unfortunately the manuals example is not enough for me to grasp the concept. I
was hoping some of you would donate some real-world ARMweb BASIC code and
matching html file so i can study it. Any help is much appreciated.

Thanks,
Robert

Re: ARMweb variable access

Posted: Mon Feb 11, 2013 2:04 pm
by YahooArchive
To read any global variable in BASIC from a web page, put this code into the web
page

What that does is replace the with the value of SomeGlobalVariable

If you only have to set a few values, like ON or OFF, you can have a webpage
navigate to another web page http://192.168.0.50/turnon.html>

And that turnon.html page would contain

Assuming 1 is on and another page that sets it to 0 for off

For more complex values call with CGI scripts and have your BASIC program read
CGIIN and parse the value.