ARMweb variable access

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

ARMweb variable access

Post 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



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb variable access

Post 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.

Post Reply