send handler with multiple params

Jan Schenkel janschenkel at yahoo.com
Fri Nov 19 05:21:26 EST 2004


--- Hershel Fisch <hershrev at realtorsgroup.us> wrote:
> Hi all
> I'm trieng to figure out if the only way this could
> be done  is with a 
> var or there is another way ?
> 
>   put "contact list" into aa
>   send "hDoQuery  the uLs of stack aa ,FROM
> contact,ORDER BY Last_name" 
> to stack "contact List"
> Thanks, Hershel
> 

Hi Hershel,

In this case, I'd go for a few variables, as this will
circumvent any un-fun with quotes :
--
  put the uLs of stack "contact list" into tULS
  put "FROM contact" into tFROM
  put "ORDER BY Last_name" into tORDER
  send "hDoQuery tULS, tFROM, tORDER" \
       to stack "contact list"
--

Hope this helped,

Jan Schenkel.

=====
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the use-livecode mailing list