Hi.
What are you trying to do here? Much of your code is syntactically incorrect.
Are you trying to use another language in LiveCode? I am referring to the "in
browser" stuff.
The line:
do "put 12131232 into myScore"
would indeed put that number into a variable named "myScore", but so would:
put 12131232 into myScore.
Write back, but the only thing that looks good here is that you used a capital
letter "S" in "myScore"
Craig Newman
*on* mouseUp
> *do* "result = urlParams" in browser
> *-- put "12131232" into myScore
> * *-- do "alert ('" & myScore & "');" in browser
> **end* mouseUp
-----Original Message-----
From: Simon Smith <[email protected]>
To: How to use LiveCode <[email protected]>
Sent: Tue, Nov 13, 2012 8:34 pm
Subject: Do "in browser" not working?
I've been trying to execute some basic JavaScript tests in the IDE on OSX.
*on* mouseUp
> *do* "result = urlParams" in browser
> *-- put "12131232" into myScore
> * *-- do "alert ('" & myScore & "');" in browser
> **end* mouseUp
However although the script compiles, the debugger complains and I can;t
get anything to work. There is no mention in the help either - has this
feature been dropped somewhere along the road?
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode