if then else. BUG?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53406
interpreted = N
texte = Test one works:[if ("[page]" = "[raw][page][/raw]") | ("[page]" = "")] [then] var eqauls var name or nothing [/then] [else] var does not equal var name or nothing [/else][/if]Test two does not work:[if ("[page]" ! "[raw][page][/raw]") | ("[page]" ! "")] [then] var does not eqaul var name or nothing [/then] [else] var does equal var name or nothing [/else][/if]My results:http://www.euca.us/admin/tests/iftest.htmlDonovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Test one works:[if ("[page]" = "[raw][page][/raw]") | ("[page]" = "")] [then] var eqauls var name or nothing [/then] [else] var does not equal var name or nothing [/else][/if]Test two does not work:[if ("[page]" ! "[raw][page][/raw]") | ("[page]" ! "")] [then] var does not eqaul var name or nothing [/then] [else] var does equal var name or nothing [/else][/if]My results:http://www.euca.us/admin/tests/iftest.htmlDonovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Max Record length (1997)
WebCatalog Beta Documentation (1997)
File Uploads: WebCat/SiteEdit (1998)
[WebDNA] Amazon EC2 and WebDNA (2017)
HELP WITH DATES (1997)
Date range (2006)
ShowNext for method=POST (1997)
[WebDNA] What Happened To Zero? (2017)
Is the Finder required? (1998)
question: webmerchant connection (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
# of real domains on 1 web server (1997)
[referrer] tag (1997)
[OT-ish] How do i make dreamweaver open .tpl files (2000)
[format xs] freeze (1997)
syntax question, not in online refernce (1997)
search between two dates (2003)
Summing fields (1997)
iTools and 3.0.8 (2000)
Field name-subcategory (1997)