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:yesyoOn the 4.5.1 system, it returns:nonahCan 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:
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:yesyoOn the 4.5.1 system, it returns:nonahCan 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:
emailer on Windows Beta 18 (1997)
Re:no [search] with NT (1997)
can WC render sites out? (1997)
WebCatalog NT beta 18 problem (1997)
WebCat2b15MacPlugin - [protect] (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Losing Variable Values/Data (2001)
[WebDNA] Server Speed/optomization (2009)
What are SMSI's upgrade policies? (2003)
Word Breaks (1998)
[WebDNA] Secure Cookies (2009)
Signal Raised (1997)
ssl and invoic.tpl and back bttn (2002)
Interesting speed comparison .. (2003)
my price won't move (1997)
[searchString] (1997)
sendmail and accented characters (1998)
MacAuthorize order data fields WAS:How To question... (1997)
Setting up the server (1997)
RE: .html to .tpl (1998)