> Shouldn't this work?
>
> gCode = "member("& QUOTE &"text"& QUOTE &").char[1..10].hyperlink =" &
> QUOTE &"www.macromedia.com"& QUOTE
>
> put value(gCode)
>
> Shouldn't this change this string into a line of code?
Nope. Check out the do command. Value changes it into a number (or, in some
Another way would be to create a custom script in the cast and then execute
a handler that you created. This would be a good method if you wanted to
have the code around later for whatever reason.
new(#script, member(1,1))
myScriptText="on myCustomHandler" & RETURN & " put " & QUOTE & "my string
e "do" command
-Original Message-
From: Matt Wells [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: Turning a string into lingo
Shouldn't this work?
gCode = "member("& QUOTE &"text"& QUOTE &
Not quite. You really cant create a "line of code" per say via Lingo. What you can do
however, is tell Director to execute the string you've created...
gCode = "member("& QUOTE &"text"& QUOTE &").char[1..10].hyperlink =" & QUOTE
&"www.macromedia.com"& QUOTE
do gCode
...will then execute you
look at the "do" command
-Original Message-
From: Matt Wells [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: Turning a string into lingo
Shouldn't this work?
gCode = "member("& QUOTE &"
Shouldn't this work?
gCode = "member("& QUOTE &"text"& QUOTE &").char[1..10].hyperlink =" &
QUOTE &"www.macromedia.com"& QUOTE
put value(gCode)
Shouldn't this change this string into a line of code?
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.