Re[2]: when is failing to [URL]ize values in a comparison ri

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25371
interpreted = N
texte = I know that it is probably a subtle point for you, but I said I wanted a way to force a numeric comparison, not that I wanted the tests always carried out as numeric. For example, see eq vs == in Perl.In WebCat's case, I would like $1,000,000 to be considered equivalent to 1000000 (or even 10e6). Users, being infinitely clever in their innate stupidity, will type formatting into a cell that you expected to be a number.John Peacock ____________________Reply Separator____________________ Subject: Re: when is failing to [URL]ize values in a comparison risky Author: (WebCatalog Talk) Date: 12/9/99 10:41 AM>I think that it would be appropriate for PCS to always >URL'ize ShowIf and HideIf comparisons. I cannot think of a single instance >where it would not be correct. The only enhancement I can think of is some way >to force a numeric comparison (stripping any non-numeric characters before >testing).I hope your suggestion to force numeric comparisons is not followed, unless it is a configurable option. Otherwise how would we be able to compare non-numeric characters?================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: when is failing to [URL]ize values in a comparison ri (Kenneth Grome 1999)
  2. Re[2]: when is failing to [URL]ize values in a comparison ri (jpeacock@univpress.com 1999)
  3. Re[2]: when is failing to [URL]ize values in a comparison ri (jpeacock@univpress.com 1999)
  4. Re[2]: when is failing to [URL]ize values in a comparison ri (jpeacock@univpress.com 1999)
I know that it is probably a subtle point for you, but I said I wanted a way to force a numeric comparison, not that I wanted the tests always carried out as numeric. For example, see eq vs == in Perl.In WebCat's case, I would like $1,000,000 to be considered equivalent to 1000000 (or even 10e6). Users, being infinitely clever in their innate stupidity, will type formatting into a cell that you expected to be a number.John Peacock ____________________Reply Separator____________________ Subject: Re: when is failing to [url]ize values in a comparison risky Author: (WebCatalog Talk) Date: 12/9/99 10:41 AM>I think that it would be appropriate for PCS to always >URL'ize ShowIf and HideIf comparisons. I cannot think of a single instance >where it would not be correct. The only enhancement I can think of is some way >to force a numeric comparison (stripping any non-numeric characters before >testing).I hope your suggestion to force numeric comparisons is not followed, unless it is a configurable option. Otherwise how would we be able to compare non-numeric characters?================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 jpeacock@univpress.com

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:

sorting and grouping (1998) NewCart+Search with one click ? (1997) 2.0 Info (1997) security (1997) WebCat2: multiple currency support (1997) RE: creating writefile data from a nested search (1997) Emailer setup (1997) I'm having trouble using [url][interpret][math] together inlookup (1997) Great product and great job ! (1997) [switch] platform specific bug??? (2003) Protect vs Authenicate (1997) [WebDNA] Error 500 with SUMM=T (2017) Search logic? (1998) show all problem (1997) many-to-one problem (1998) Comments in db? (1997) Updating fields from different platforms (1998) using showpage and showcart commands (1996) Adding multiple items to Cart (1999) searching problem (1998)