Re: quotation marks needed?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33854
interpreted = N
texte = >I tried this:>[If [var1]=[var2]]....>>and it didn't work; I've displayed the two values and even when they are>identical, the if does not say so;>>this worked:>[If [var1]=[var2]]....You've run into a slight syntax difference between [ShowIf] and [If]. WebCatalog 4.0 introduced a new context called [If] which works much like a C-language 'if' statement. To that end, [If] requires that you put quotes around strings so that it can distinguish text from numbers, parentheses and other comparison operators.[ShowIf], on the other hand, retains the original syntax (for obvious legacy reasons), and does not require quotes. The correct syntax is all documented in your online docs under the context headings [If] and [ShowIf].Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I tried this:>[If [var1]=[var2]]....>>and it didn't work; I've displayed the two values and even when they are>identical, the if does not say so;>>this worked:>[If [var1]=[var2]]....You've run into a slight syntax difference between [showif] and [if]. WebCatalog 4.0 introduced a new context called [if] which works much like a C-language 'if' statement. To that end, [if] requires that you put quotes around strings so that it can distinguish text from numbers, parentheses and other comparison operators.[showif], on the other hand, retains the original syntax (for obvious legacy reasons), and does not require quotes. The correct syntax is all documented in your online docs under the context headings [if] and [showif].Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
WebDNA Support
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
'RequiredField' Question (1998)
[ot] Layer Help! (2002)
emailer (1997)
DATES (2004)
The max=0 issue is a bug ... CALL TO ACTION (2000)
webcat- multiple selection in input field (1997)
Searchable list mail via wwebcat (1998)
Item options w/ price adjustment (1997)
WCS Newbie question (1997)
Re:Review comparison by PC Magazine: Open for On-line Business (1997)
Running 2 two WebCatalog.acgi's (1996)
Showif, Hideif reverse logic ? (1997)
Authorize.Net down 2 days in row (2004)
FileMaker and WebCat - .hdr OK Merge not OK (1999)
Can you do this??? and other stuff (1997)
b12 cannot limit records returned and more. (1997)
HomePage Caution (1997)
Credit Card Verification.... (1998)
v6.x & [cart] (2004)
[WriteFile] problems (1997)