Internal parser bug. Webdna sees [theNote] as [then].---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Mon, Jun 17, 2013 at 1:39 PM, <info@newworldcreative.com> wrote:CentOS 5.9/Apache 2.2.3/WebDNA 6.2Code below craps the bed until you change "[theNote]" to something like "[themNotes]" or "[somethingTotallyDifferent]""[_theNote]" doesn't work... seems like it dies when "theNote" is used. Not sure if issue is with [loop] or with [if] or some magical combination, but I am left wondering if [theNote] is a reserved tag or something?Very strange to me, so I was hoping for a sanity check... any takers?Thanks,-Dan=============================[if "cat" = "dog"]---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
[then]
IN-LOOP ------------<br />
[loop start=1&end=3]
[if "[theNote]" = ""]
[then]
--THEN[index]<br />
[/then]
[else]
--ELSE[index]<br />
[/else]
[/if]
[/loop]
/IN-LOOP ------------<br />
<br /><br />
NOT-IN-LOOP ------------<br />
[if "[theNote]" = ""]
[then]
--THEN<br />
[/then]
[else]
--ELSE<br />
[/else]
[/if]
/NOT-IN-LOOP ------------<br />
<br />
[/then]
[else]
WHATEVER
[/else]
[/if].To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
Internal parser bug. Webdna sees [theNote] as [then].---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Mon, Jun 17, 2013 at 1:39 PM, <info@newworldcreative.com> wrote:CentOS 5.9/Apache 2.2.3/WebDNA 6.2Code below craps the bed until you change "[theNote]" to something like "[themNotes]" or "[somethingTotallyDifferent]""[_theNote]" doesn't work... seems like it dies when "theNote" is used. Not sure if issue is with [loop] or with [if] or some magical combination, but I am left wondering if [theNote] is a reserved tag or something?Very strange to me, so I was hoping for a sanity check... any takers?Thanks,-Dan=============================[if "cat" = "dog"]---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
[then]
IN-LOOP ------------<br />
[loop start=1&end=3]
[if "[theNote]" = ""]
[then]
--THEN[index]<br />
[/then]
[else]
--ELSE[index]<br />
[/else]
[/if]
[/loop]
/IN-LOOP ------------<br />
<br /><br />
NOT-IN-LOOP ------------<br />
[if "[theNote]" = ""]
[then]
--THEN<br />
[/then]
[else]
--ELSE<br />
[/else]
[/if]
/NOT-IN-LOOP ------------<br />
<br />
[/then]
[else]
WHATEVER
[/else]
[/if].To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...