passing quotes parameters to a 'send' message...

Alex Tweedly alex at tweedly.net
Tue Jul 12 19:24:27 EDT 2005


Jeanne A. E. DeVoto wrote:

>
> Try
>
>   send "putInMsg tName" to me

OK, it works. But *why* ?  In any other context,  the content of a 
quoted string is not evaluated -
put "putInmsg tName" after msg
puts that literal string into the message box.

Even stranger, you can also do
  send ("putInMsg extratext" && tName) to me
and in that case it comes through with the parameter set to
   extratext button "Button" of card id 1002 of stack "Untitled 1"

but removing the 'extratext' makes it not work.

I tried checking the docs (always an optimist), and it gives the example
    send "goThere" && field "Where To" to stack "Destination" in 30
I tried that (changing the destination to be "me") and that fails with 
the same problem Chipp reported.

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005




More information about the use-livecode mailing list