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 littleeasier..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 hideifbecause the ! is switching it to !=.. It is my belief that the contents ofa variable should not affect the comparisons.. I need a way to makewebdna 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:
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 littleeasier..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 hideifbecause the ! is switching it to !=.. It is my belief that the contents ofa variable should not affect the comparisons.. I need a way to makewebdna 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:
WebCatalog 4.0.1b1 is now available (2000)
[showif] with ! (2000)
Serial Number Question (1997)
Database (2002)
Failed to aquire lock on database - Possible deadlock averted (2005)
WebCat & Liststar ... & Rumpus, too! (1997)
Emailer choke (1997)
Internet Advancement (2003)
no [include]s with encryption? (1998)
Formating found categories (1997)
webdna page not found redirect (2007)
Help with (2003)
Search with Special Chars (1997)
ListFiles Bug (1998)
2.0Beta Command Ref (can't find this instruction) (1997)
[random] only for 1-100??? (1997)
pop up menu's (1998)
oops private message leaked into talk list (1997)
WebCommerce: Folder organization ? (1997)
Need help with text area (1998)