Variables containing ! breaking HIDEIF's

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24800
interpreted = N
texte = Greetings..I am currently sporting a brand new headache brought on by HIDEIF's.. Here is a clipping from a test program that shows the problem:[TEXT SHOW=T]ANSWERC1=foo![/TEXT]
.
[LOOP START=1&END=1] [HIDEIF [INTERPRET][ANSWERC[INDEX]][/INTERPRET]=[RAW][ANSWERC[/RAW][INDEX][RAW]][/RAW]][INTERPRET][ANSWERC[INDEX]][/INTERPRET][/HIDEIF] [/LOOP]
.The periods are there strictly to make viewing the output a little easier..It seems that the hideif statement interprets this as:[HIDEIF foo!=[ANSWERC1]]foo![/HIDEIF]As you can see, this is not going to display the contents of the hideif because the ! is switching it to !=.. It is my belief that the contents of a variable should not affect the comparisons.. I need a way to make webdna interpret the ! as part of the left side of the equation.Is this a bug? If not, any ideas out there?--- jereme claussen --b-r-o-k-e-n-m-a-c-h-i-n-e-- jtc@brokenmachine.com -http://www.brokenmachine.com/ ------------------------------------------------------------- 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: Variables containing ! breaking HIDEIF's (Charles Kline 1999)
  2. Variables containing ! breaking HIDEIF's (100-Watt Puppeteer 1999)
Greetings..I am currently sporting a brand new headache brought on by HIDEIF's.. Here is a clipping from a test program that shows the problem:[TEXT SHOW=T]ANSWERC1=foo![/TEXT]
.
[LOOP START=1&END=1] [HIDEIF [interpret][ANSWERC[INDEX]][/INTERPRET]=[raw][ANSWERC[/RAW][INDEX][raw]][/RAW]][interpret][ANSWERC[INDEX]][/INTERPRET][/HIDEIF] [/LOOP]
.The periods are there strictly to make viewing the output a little easier..It seems that the hideif statement interprets this as:[HIDEIF foo!=[ANSWERC1]]foo![/HIDEIF]As you can see, this is not going to display the contents of the hideif because the ! is switching it to !=.. It is my belief that the contents of a variable should not affect the comparisons.. I need a way to make webdna interpret the ! as part of the left side of the equation.Is this a bug? If not, any ideas out there?--- jereme claussen --b-r-o-k-e-n-m-a-c-h-i-n-e-- jtc@brokenmachine.com -http://www.brokenmachine.com/ ------------------------------------------------------------- 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 100-Watt Puppeteer

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:

Practice runs ? (1997) WC1.6 to WC2 date formatting (1997) WebCatalog NT beta 18 problem (1997) ODBC problems between webcat and filemaker pro (2001) comparison to Lasso 6 or 7 (2004) Banners (1997) Help! WebCat2 bug (1997) anyone using encrypted templates on non-US NT OS (1999) Couple of questions (1999) Dummy Credit Card Number for debug? (1997) Clickable maps and WebCatalog? (1996) WebCat2 beta 11 - new prefs ... (1997) followup to ws3 vs ws2.1 speed (1998) [WebDNA] Vers 6.2 for Windows (2018) Close Databases Crash? (1998) Signal Raised (1997) WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998) ANNOUNCE: FREE ProcessWatch Webmaster utility (1998) Remote stockroom ? (1998) Logout? (1998)