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

Chipp Walters chipp at
Tue Jul 12 18:45:48 EDT 2005

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...


More information about the Use-livecode mailing list