B and B, is this a multiple choice, because it breaks all laws of multiple choices the law being “At least 50% of all answers will be ‘C’”

 

<@IF EXPR="'@@user$gui_lang' = 'se'">

This allow for gui_lang to be blank and not blow up in you face

 

<@IF EXPR="<@CALC '<@STARTROW>+<@MAXROWS>'> <= @@request$totalrows">

I find it best to quote when you are not using the full syntax of the command

 

<@IF EXPR="<@CALC EXP='<@STARTROW>+<@MAXROWS>'> <= @@request$totalrows">

 

 

Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller
Available for Witango Developement


From: Peter Ternstr�m [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 12:52 AM
To: [email protected]
Subject: Witango-Talk: A Quoting Question

 

Happy new year everyone on the list!

 

Just making sure my quotes are correct. The string in @@user$gui_lang can be se, en, pl, de and so on. Which one of the expressions below do you think is most properly quoted?

 

<@IF EXPR="@@user$gui_lang = se">

 

<@IF EXPR="'@@user$gui_lang' = 'se'">

 

<@IF EXPR="'@@user$gui_lang'='se'">

 

 

AND

 

<@IF EXPR="<@CALC <@STARTROW>+<@MAXROWS>> <= @@request$totalrows">

 

<@IF EXPR="<@CALC '<@STARTROW>+<@MAXROWS>'> <= @@request$totalrows">

<@IF EXPR="<@CALC '"<@STARTROW>"+"<@MAXROWS>"'> <= '@@request$totalrows'">

?

 


 

 

 

 

 

 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to