EXPR text bug?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35976
interpreted = N
texte = Mac, WebCatalog 4.0.2b5The text EXPR seems to break SHOWIF/ HIDEIF statements:On a page with nothing but the following code:[SHOWIF EXPR=EXPR]showme[/SHOWIF] [HIDEIF EXPR=EXPR]hideme[/hideIF]showme should appear and hideme should be hidden. Instead, showme is hidden and hideme is displayed.Adding or removing a letter from the string EXPR seems to work fine, so [SHOWIF EXP=EXP]showme[/SHOWIF] [HIDEIF EXP=EXP]hideme[/hideIF]and[SHOWIF EXPRE=EXPRE]showme[/SHOWIF] [HIDEIF EXPRE=EXPRE]hideme[/hideIF] both display properly.Also, IF and SWITCH work fine:[IF EXPR=EXPR] [THEN] showme [/THEN] [/IF][switch value=EXPR] [case value=EXPR]showme[/case] [/switch]--Irene############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: EXPR text bug? (Grant Hulbert 2000)
  2. EXPR text bug? (Irene Chien 2000)
Mac, WebCatalog 4.0.2b5The text EXPR seems to break SHOWIF/ HIDEIF statements:On a page with nothing but the following code:[SHOWIF EXPR=EXPR]showme[/SHOWIF] [HIDEIF EXPR=EXPR]hideme[/hideIF]showme should appear and hideme should be hidden. Instead, showme is hidden and hideme is displayed.Adding or removing a letter from the string EXPR seems to work fine, so [SHOWIF EXP=EXP]showme[/SHOWIF] [HIDEIF EXP=EXP]hideme[/hideIF]and[SHOWIF EXPRE=EXPRE]showme[/SHOWIF] [HIDEIF EXPRE=EXPRE]hideme[/hideIF] both display properly.Also, IF and SWITCH work fine:[IF EXPR=EXPR] [THEN] showme [/THEN] [/IF][switch value=EXPR] [case value=EXPR]showme[/case] [/switch]--Irene############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Irene Chien

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:

An Isnumeric function of some kind (2001) Fun with dates (1997) Logging purchases (1997) form data submission gets truncated (1997) Multiple cart additions (1997) form data submission gets truncated (1997) A multi-processor savvy WebCatalog? (1997) Sort Order on a page search (1997) TCPconnect & XML (2008) WebMerchant 1.6 and SHTML (1997) sorting and grouping (1998) Authorize.Net and AIM (2004) Summing a field full of numbers ... (1997) WebCat2 - Getting to the browser's username/password data (1997) off topic