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:

    
  1. Re: case=T and [showif] (Brian Fries 2002)
  2. case=T and [showif] (Kalin Mintchev 2002)
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:

How To Install (2003) Tags not being Interpreted-Resending (1999) Locking up with WebCatalog... (1997) WebCatalog stalls (1998) Banners and sort of random display (1997) You can't buy something twice... (1997) Document Contains No Data! (1997) TeaRoom Order fields email account remain empty even thoughthewy are filled. (1997) WC Database Format (1997) StoreBuilder on V.5.x (2003) WebCommerce: Folder organization ? (1997) test (1998) RE: [WebDNA] Crashing (2008) [IpAddress] Tag (1997) billing system (2003) Partial credits (2002) For those of you not on the WebCatalog Beta... (1997) OK, here goes... (1997) Text data with spaces in them... (1997) forms and variables (1998)