Either quote is fine '""' or "''" The issue with this quote is not the type of the column but the name itself, since column names can contain spaces, I consider it a most habit to quote these
Ben Johansen - http://www.pcforge.com Authorized Witango & MDaemon Reseller Available for Witango Developement -----Original Message----- From: Peter Ternstr�m [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: Quoting of method call parameters Thanks, so how about column references? <@CALLMETHOD OBJECT="object" SCOPE="d2" METHOD="show_messenger_voting_form(<@COLUMN 'messenger.auid'>)" ENCODING=META> The auid can only contain integers, but should I quote it anyway? And if I quote it, should, how should I quote it? <@CALLMETHOD OBJECT="object" SCOPE="d2" METHOD="show_messenger_voting_form('<@COLUMN "messenger.auid">')" ENCODING=META> ? Peter ----- Original Message ----- From: "Alan Wolfe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 6:51 PM Subject: Re: Witango-Talk: Quoting of method call parameters > And if you want to be "fully xml compliant" (witango is getting stricter > on > that sometime in the future isnt it? I recall something about that at the > last conference), you will want to quote just about EVERYTHING so better > safe now then sorry later on i think (: > > for the xml compliance it's only for attributes of tags though if i > understand correctly, so instead of this which works now: > <@RANDOM HIGH=100 LOW=1> > > you'd want this: > <@RANDOM HIGH="100" LOW="1"> > > ----- Original Message ----- > From: "Ben Johansen" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, December 01, 2004 9:41 AM > Subject: RE: Witango-Talk: Quoting of method call parameters > > > Here is a couple of quick rules that I use in Witango > > If it is contains a space "Quote It" > If it is a String/Text "Quote it even if it doesn't have a space" > If it is a number "Quoting Optional" if the number is in a Witango > Variable > "Quote It" > > You can pretty much quote all because Witango doesn't use explicitly typed > vars they pretty much are all strings > > <@CALC EXP="1 + 1"> = <@CALC EXP="'1' + '1'"> > > > Ben Johansen - http://www.pcforge.com > Authorized Witango & MDaemon Reseller > Available for Witango Developement > > > -----Original Message----- > From: Peter Ternstr�m [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 01, 2004 10:11 AM > To: [EMAIL PROTECTED] > Subject: Witango-Talk: Quoting of method call parameters > > Hello everyone, > > sorry for this maybe stupid question; > > what is correct quoting in a method call? > > if the parameters are integer values, should they be quoted anyway? > > Thanks for all help > > Peter > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
