This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Rabbitweb - Steve Trigero - Apr 23 17:06:00 2008
If I have a float variable, can I do the following:
float myfloat;
#web myfloat
...
Then in the jscript section of my html file:
var localvar = ;
I'm getting a synax error from IE on above line.
Steve

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Rabbitweb - jackd053 - Apr 23 18:52:57 2008
Hi Steve,
I don't think you can. The Rabbit server puts the value of the
web var in the html page. It is not a variable that you can pass back
and forth. Too bad though as that would be very useful.
Jack
--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> If I have a float variable, can I do the following:
>
> float myfloat;
>
> #web myfloat
> ...
>
> Then in the jscript section of my html file:
>
> var localvar = ;
>
> I'm getting a synax error from IE on above line.
>
> Steve
>
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Rabbitweb - Tom Collins - Apr 24 0:46:32 2008
On Apr 23, 2008, at 2:05 PM, Steve Trigero wrote:
> If I have a float variable, can I do the following:
>
> float myfloat;
>
> #web myfloat
> ...
>
> Then in the jscript section of my html file:
>
> var localvar = ;
>
> I'm getting a synax error from IE on above line.
>
> Steve
What does it look like when you "View Source" in IE? What you're
doing should be acceptable, assuming that section of the HTML file is
inside a script tag...
-Tom

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Rabbitweb - bluetech_th - Apr 24 1:58:31 2008
Hi Steve,
try
var localvar =
Sakorn
--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> If I have a float variable, can I do the following:
>
> float myfloat;
>
> #web myfloat
> ...
>
> Then in the jscript section of my html file:
>
> var localvar = ;
>
> I'm getting a synax error from IE on above line.
>
> Steve
>
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )