passing quotes parameters to a 'send' message...
Jim Bufalini
yoursignup at yahoo.com
Tue Jul 12 19:19:22 EDT 2005
This worked for me.
All in button Fred:
on mouseUp
put quote & the long name of me & quote into tName
send "putInMsg" && tName to me
end mouseUp
on putInMsg tName
answer "I got the" && tName
end putInMsg
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Chipp
Walters
Sent: Tuesday, July 12, 2005 12:46 PM
To: Use-Revolution
Subject: passing quotes parameters to a 'send' message...
Hmmm
I know this isn't supposed to be this hard...
create a button named 'fred'
on mouseUp
put the long name of me into tName
send ("putInMsg" && tName) to me
end mouseUp
on putInMsg p
put p
end putInMsg
I get nadda. I know the quotes are screwing it up someway. Do I need to
encode with some sort of quote function?
I've tried
send ("putInMsg" && quote & tName & quote) to me
but this adds 2 quotes, 1 before and 1 after. I seem to remember being
able to do it the first way before...
-Chipp
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list