Re: Unexpected comparison behavior change in 4.5.1

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48767
interpreted = N
texte = We're going pretty deep this morning... I have to agree with Charles. The variable bob does not contain ''. An empty variable would contain '' an infinite number of times, but as soon as ANY character is added to the variable, it ceases to contain ''.If you have an empty glass, it contains nothing. As soon a you add a grain of salt or a drop of water it contains SOMETHING.On 3/18/03 11:21 AM, Charles Kline wrote:> Brian, > > That is not correct. > > bob is a string consisting of the letters 'bob' it DOES contain 'b' > (which is what the ^ means to WebDNA) it does not contain '' which is > what [showif bob^] means as well as [if bob^]. Both these > statements are FALSE. > > Someone correct me if I'm wrong please :)--------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Unexpected comparison behavior change in 4.5.1 (John Peacock 2003)
  2. Re: Unexpected comparison behavior change in 4.5.1 (Charles Kline 2003)
  3. Re: Unexpected comparison behavior change in 4.5.1 (Brian Fries 2003)
  4. Re: Unexpected comparison behavior change in 4.5.1 (Velma Kahn 2003)
  5. Re: Unexpected comparison behavior change in 4.5.1 (Clint Davis 2003)
  6. Re: Unexpected comparison behavior change in 4.5.1 (Clint Davis 2003)
  7. Re: Unexpected comparison behavior change in 4.5.1 (Charles Kline 2003)
  8. Re: Unexpected comparison behavior change in 4.5.1 (Velma Kahn 2003)
  9. Re: Unexpected comparison behavior change in 4.5.1 (Charles Kline 2003)
  10. Re: Unexpected comparison behavior change in 4.5.1 (Brian Fries 2003)
  11. Re: Unexpected comparison behavior change in 4.5.1 (Charles Kline 2003)
  12. Re: Unexpected comparison behavior change in 4.5.1 (Kenneth Grome 2003)
  13. Re: Unexpected comparison behavior change in 4.5.1 (Brian Fries 2003)
  14. Re: Unexpected comparison behavior change in 4.5.1 (Charles Kline 2003)
  15. Re: Unexpected comparison behavior change in 4.5.1 (Brian Fries 2003)
  16. Re: Unexpected comparison behavior change in 4.5.1 (Alain Russell 2003)
  17. Re: Unexpected comparison behavior change in 4.5.1 (Stuart Tremain 2003)
  18. Re: Unexpected comparison behavior change in 4.5.1 (Rob Marquardt 2003)
  19. Re: Unexpected comparison behavior change in 4.5.1 (Brian Fries 2003)
  20. Re: Unexpected comparison behavior change in 4.5.1 (Gary Krockover 2003)
  21. Re: Unexpected comparison behavior change in 4.5.1 (Alain Russell 2003)
  22. Re: Unexpected comparison behavior change in 4.5.1 (Tim Robinson 2003)
  23. Unexpected comparison behavior change in 4.5.1 (Brian Fries 2003)
We're going pretty deep this morning... I have to agree with Charles. The variable bob does not contain ''. An empty variable would contain '' an infinite number of times, but as soon as ANY character is added to the variable, it ceases to contain ''.If you have an empty glass, it contains nothing. As soon a you add a grain of salt or a drop of water it contains SOMETHING.On 3/18/03 11:21 AM, Charles Kline wrote:> Brian, > > That is not correct. > > bob is a string consisting of the letters 'bob' it DOES contain 'b' > (which is what the ^ means to WebDNA) it does not contain '' which is > what [showif bob^] means as well as [if bob^]. Both these > statements are FALSE. > > Someone correct me if I'm wrong please :)--------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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://webdna.smithmicro.com/ Clint Davis

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:

RE: Contexts and Ampersands (1997) Showif date range comparison (1999) SQL Tutorial (1998) Getting total number of items ordered (1997) [UPPERCASE] (1997) [delete] problem (1997) do you have a webcatalog tool you want to sell? (1999) Bug Report, maybe (1997) problem using ErrorMessages.db to redirect requests (2004) Projects & Contractors (1997) how to add to triggers.db (1998) [WebDNA] Ubuntu 11.10 (2012) Upgrading old WebCat Database Files (1997) WebCat2 - Getting to the browser's username/password data (1997) List archive status? (1999) writefile - continued (1997) more on the Shipcost update problem (1997) type 2 errors with ssl server (1997) WebCatalog f2 Installation (1997) Physical Security for WebCatalog Directories (1997)