I changed "theNote" to "mike" and got ="WHATEVER". SOOOO, same result on my end too. =Odd.
Mike
Michael =DeLorenzo
General Manager
Olde Carriage Realty, =Inc.
92 Charlotte =Street
St. Augustine, Florida =32084
O: 904.824.4500
F: 904.824.6866
From:= =info@newworldcreative.com [mailto:info@newworldcreative.com] =
Sent: Monday, June 17, 2013 2:40 PM
To: =talk@webdna.us
Subject: [WebDNA] Bug in WebDNA or in my =brain?
CentOS =5.9/Apache 2.2.3/WebDNA 6.2
Code below =craps the bed until you change "[theNote]" to something like ="[themNotes]" or ="[somethingTotallyDifferent]"
"[_theN=ote]" 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
=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
[if ="cat" =3D "dog"]
= [then]
IN-LOOP =------------<br />
=[loop =start=3D1&end=3D3]
 =; [if "[theNote]" =3D =""]
&n=bsp; =[then]
&nb=sp; --THEN[index]<br =/>
&nbs=p; =[/then]
&n=bsp; =[else]
&nb=sp; --ELSE[index]<br =/>
&nbs=p; =[/else]
&n=bsp; [/if]
=[/loop]
/IN-LOOP =------------<br />
=<br /><br />
=NOT-IN-LOOP ------------<br =/>
[if ="[theNote]" =3D =""]
&n=bsp; =[then]
&nb=sp; --THEN<br =/>
&nbs=p; =[/then]
&n=bsp; =[else]
&nb=sp; --ELSE<br =/>
&nbs=p; [/else]
=[/if]
/NOT-IN-LOOP =------------<br />
=<br />
[/then]
=[else]
= WHATEVER
=[/else]
[/if]
------------=--------------------------------------------- This message is sent to =you because you are subscribed to the mailing list . To unsubscribe, =E-mail to: archives: http://mail.webdna.us/=list/talk@webdna.us Bug Reporting: support@webdna.us
|
I changed "theNote" to "mike" and got ="WHATEVER". SOOOO, same result on my end too. =Odd.
Mike
Michael =DeLorenzo
General Manager
Olde Carriage Realty, =Inc.
92 Charlotte =Street
St. Augustine, Florida =32084
O: 904.824.4500
F: 904.824.6866
From:= =info@newworldcreative.com [mailto:info@newworldcreative.com] =
Sent: Monday, June 17, 2013 2:40 PM
To: =talk@webdna.us
Subject: [WebDNA] Bug in WebDNA or in my =brain?
CentOS =5.9/Apache 2.2.3/WebDNA 6.2
Code below =craps the bed until you change "[theNote]" to something like ="[themNotes]" or ="[somethingTotallyDifferent]"
"[_theN=ote]" 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
=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
[if ="cat" =3D "dog"]
= [then]
IN-LOOP =------------<br />
=[loop =start=3D1&end=3D3]
 =; [if "[theNote]" =3D =""]
&n=bsp; =[then]
&nb=sp; --THEN[index]<br =/>
&nbs=p; =[/then]
&n=bsp; =[else]
&nb=sp; --ELSE[index]<br =/>
&nbs=p; =[/else]
&n=bsp; [/if]
=[/loop]
/IN-LOOP =------------<br />
=<br /><br />
=NOT-IN-LOOP ------------<br =/>
[if ="[theNote]" =3D =""]
&n=bsp; =[then]
&nb=sp; --THEN<br =/>
&nbs=p; =[/then]
&n=bsp; =[else]
&nb=sp; --ELSE<br =/>
&nbs=p; [/else]
=[/if]
/NOT-IN-LOOP =------------<br />
=<br />
[/then]
=[else]
= WHATEVER
=[/else]
[/if]
------------=--------------------------------------------- This message is sent to =you because you are subscribed to the mailing list . To unsubscribe, =E-mail to: archives: http://mail.webdna.us/=list/talk@webdna.us Bug 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...