Re: case=T and [showif]
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42822
interpreted = N
texte = Comparisons in WebDNA are by default non-case-sensitive, and there is no case option for the [showif] (or [hideif] or [if]) context - though this would be a nice feature in some situations.One way to do case-sensitive comparisons is to encrypt the values without a seed, like this:[showif [url][encrypt][a][/encrypt][/url]=[url][encrypt][b][/encrypt][/url]]This will only evaluate true if [a] and [b] are identical, including case.- brianAt 6:23 PM 8/21/02, Kalin Mintchev wrote:>hi,>>why case=T doesn't work with [showif]?>>i'm using conversion dbs and stuff but why case=T can not be an option for>the [showif] tags????>>thanks...-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =><= Macintosh, Internet and Multimedia http://www.artsofauburn.com =><= Development and Consulting =>-------------------------------------------------------------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:
Comparisons in WebDNA are by default non-case-sensitive, and there is no case option for the [showif] (or [hideif] or [if]) context - though this would be a nice feature in some situations.One way to do case-sensitive comparisons is to encrypt the values without a seed, like this:[showif [url][encrypt][a][/encrypt][/url]=[url][encrypt][b][/encrypt][/url]]This will only evaluate true if [a] and [b] are identical, including case.- brianAt 6:23 PM 8/21/02, Kalin Mintchev wrote:>hi,>>why case=T doesn't work with [showif]?>>i'm using conversion dbs and stuff but why case=T can not be an option for>the [showif] tags????>>thanks...-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =><= Macintosh, Internet and Multimedia http://www.artsofauburn.com =><= Development and Consulting =>-------------------------------------------------------------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/
Brian Fries
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:
OT: SMSI stock (2003)
Creating folders and deleting files (1997)
Suggestions for Topics to be covered in an Advanced (1998)
PCS Emailer's role ? (1997)
Re:Help name our technology! (1997)
Extended [ConvertChars] (1997)
Plugin or CGI or both (1997)
Help formatting search results w/ table (1997)
[OT] md5 or sha-1 on OSX (2007)
search results not sorted with 'cl' (1998)
How do I handle extra spaces? (2002)
WebCat2: multiple currency support (1997)
Dummy Credit Card Number for debug? (1997)
Add to Cart & List of Products (1997)
Mass Mail (2000)
Help! Odd, irreproducible happenings. (1998)
authenticating a second user (1997)
Possible Bug in 2.0b15.acgi (1997)
Nested tags count question (1997)
japanese characters (1997)