Re: Turning a string into lingo

2003-09-12 Thread alpha
> 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

Re: Turning a string into lingo

2003-09-12 Thread Charlie Fiskeaux II
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

RE: Turning a string into lingo

2003-09-12 Thread Matt Wells
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 &

RE: Turning a string into lingo

2003-09-12 Thread Kraig Mentor
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

RE: Turning a string into lingo

2003-09-12 Thread Eric Frericks
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 &"

Turning a string into lingo

2003-09-12 Thread Matt Wells
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.