Re: Feature Request: ! character bug correct in [showif[variable]=]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27319
interpreted = N
texte = >[showif [Message]=]Your message is empty[/showif] >[showif [Message]!]Your message is NOT empty[/showif] > >Will not work correctly if there is a ! in the [Message].Rearrange it so the ! is on the left:[showif =[Message]]Your message is empty[/showif] [showif ![Message]]Your message is NOT empty[/showif]Or, to be completely safe in all cases, use [URL] as in:[showif =[URL][Message][/URL]]Your message is empty[/showif] [showif ![Message]]Your message is NOT empty[/showif]The parser reads from left-to-right. If your text has embedded comparison characters of *any* kind, including not just ! but also =><~^ then you will see these kinds of symptoms. This is not a bug, it is a natural side-effect of a language that is completely dynamic in nature.A description of this behavior and the tips you should know are all in your online docs. Take a look at http://www.smithmicro.com/webcatreference/ShowIfContext.htmlTechnical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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: Feature Request: ! character bug correct in [showif[variable]=] (Charles Kline 2000)
  2. Re: Feature Request: ! character bug correct in [showif[variable]=] (WebDNA Support 2000)
>[showif [Message]=]Your message is empty[/showif] >[showif [Message]!]Your message is NOT empty[/showif] > >Will not work correctly if there is a ! in the [Message].Rearrange it so the ! is on the left:[showif =[Message]]Your message is empty[/showif] [showif ![Message]]Your message is NOT empty[/showif]Or, to be completely safe in all cases, use [url] as in:[showif =[url][Message][/URL]]Your message is empty[/showif] [showif ![Message]]Your message is NOT empty[/showif]The parser reads from left-to-right. If your text has embedded comparison characters of *any* kind, including not just ! but also =><~^ then you will see these kinds of symptoms. This is not a bug, it is a natural side-effect of a language that is completely dynamic in nature.A description of this behavior and the tips you should know are all in your online docs. Take a look at http://www.smithmicro.com/webcatreference/ShowIfContext.htmlTechnical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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 WebDNA Support

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:

WebCat for Unix?? (1997) Multiple download orders of the same product? (1997) Great product and great job ! (1997) Just Testing (1997) Show all from database (2001) Tab Charactor (1997) form data submission gets truncated (1997) Web Catalog 2 demo (1997) WC1.6 to WC2 date formatting (1997) Version f1 status (1997) Do triggers work on Macs? (2000) using showpage and showcart commands (1996) Format all of a sudden doesn't work (1997) Problems with [Search] param - Mac Plugin b15 (1997) Authenticate (1997) Database Options (1997) RE: Symantec VIsual Page 1.0.3 (1997) WebCatalog can't find database (1997) emailer w/F2 (1997) No more misunderstanding ... yay! :) (1997)