Unexpected comparison behavior change in 4.5.1

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48706
interpreted = N
texte = Running WebDNA 4.5.1 on OSX, I'm finding an unexpected and undesirable change in the behavior of IF and SHOWIF contains comparisons when the value being tested for is blank.I ran this code on three servers - OSX / 4.5.0, OS9 / 4.0.2 and OSX / 4.5.1:[showif bob^]yes[/showif][hideif bob^]no[/hideif]
[if bob^][then]yo[/then][else]nah[/else][/if]
On both the 4.5.0 and 4.0.2 systems, it returns: yes yoOn the 4.5.1 system, it returns: no nah Can I get confirmation from SMSI and/or other users that this is a bug introduced in 4.5.1?- brian-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- 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)
Running WebDNA 4.5.1 on OSX, I'm finding an unexpected and undesirable change in the behavior of IF and SHOWIF contains comparisons when the value being tested for is blank.I ran this code on three servers - OSX / 4.5.0, OS9 / 4.0.2 and OSX / 4.5.1:[showif bob^]yes[/showif][hideif bob^]no[/hideif]
[if bob^][then]yo[/then][else]nah[/else][/if]
On both the 4.5.0 and 4.0.2 systems, it returns: yes yoOn the 4.5.1 system, it returns: no nah Can I get confirmation from SMSI and/or other users that this is a bug introduced in 4.5.1?- brian-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- 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/ 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:

searching for items that begin with a number (2004) [lineitems] (2000) Help formatting search results w/ table (1997) PCS Frames-Default page is solution! (1997) sort without the or a (1998) The word TYPE in search contexts and fields (1998) BBEdit and WebCatalog 2.0? (1997) Generating unique SKU from [cart] (1997) f2 download problems (1997) RE: Re:Has this happened to you? (1997) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) Bug? (1997) Secure server question (1997) RE: Problems with dbcatalog.exe (1997) Banner DNA (1997) Running WebCat from a CD-ROM (1997) [WebDNA] reply vs. new (2009) database size? (1997) encrypt (2000) carriage returns in data (1997)