Do "in browser" not working?

dunbarx at aol.com dunbarx at aol.com
Tue Nov 13 20:52:01 EST 2012


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 <simon at emotionaldiary.org>
To: How to use LiveCode <use-livecode at lists.runrev.com>
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
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list