RE: [WebDNA] Bug in WebDNA or in my brain?

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110454
interpreted = N
texte = This is a multi-part message in MIME format. ------=_NextPart_000_0668_01CE6B72.2113E9C0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I got this: =20 =20 --ELSE[index] Error: Error: expected [/FUNCTIONSPACE], but found [/loop] = instead[/loop] /IN-LOOP ------------ NOT-IN-LOOP ------------ --ELSE /NOT-IN-LOOP ------------ Error: Error: expected [/FUNCTIONSPACE], but found [/then] = instead[/then] An unknown error occurred: IfNotFound ELSE Error: Error: expected [/FUNCTIONSPACE], but found [/if] instead[/if] =20 =20 =20 =20 I then deleted the IF statement surrounding the loops and got this: =20 IN-LOOP ------------ --ELSE1 --ELSE2 --ELSE3 /IN-LOOP ------------ NOT-IN-LOOP ------------ --ELSE /NOT-IN-LOOP ------------ =20 =20 Running Windows 2003 Server with WebDNA 6.2 =20 Mike =20 Michael DeLorenzo General Manager =20 Olde Carriage Realty, Inc. 92 Charlotte Street St. Augustine, Florida 32084 O: 904.824.4500 F: 904.824.6866 michael@oldecarriage.com http://www.oldecarriage.com =20 From: info@newworldcreative.com [mailto:info@newworldcreative.com]=20 Sent: Monday, June 17, 2013 2:40 PM To: talk@webdna.us Subject: [WebDNA] Bug in WebDNA or in my brain? =20 CentOS 5.9/Apache 2.2.3/WebDNA 6.2 =20 Code below craps the bed until you change "[theNote]" to something like = "[themNotes]" or "[somethingTotallyDifferent]" =20 "[_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? =20 Very strange to me, so I was hoping for a sanity check... any takers? =20 Thanks, -Dan =20 =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 ------------
[loop start=3D1&end=3D3] [if "[theNote]" =3D ""] [then] --THEN[index]
[/then] [else] --ELSE[index]
[/else] [/if] [/loop] /IN-LOOP ------------


NOT-IN-LOOP ------------
[if "[theNote]" =3D ""] [then] --THEN
[/then] [else] --ELSE
[/else] [/if] /NOT-IN-LOOP ------------

[/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 ------=_NextPart_000_0668_01CE6B72.2113E9C0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I got this:

 

 

--ELSE[index]
Error: Error: expected = [/FUNCTIONSPACE], but found [/loop] instead[/loop] /IN-LOOP = ------------


NOT-IN-LOOP = ------------
--ELSE
/NOT-IN-LOOP ------------

Error: Error: = expected [/FUNCTIONSPACE], but found [/then] instead[/then] An unknown = error occurred:
IfNotFound
ELSE


Error: Error: expected = [/FUNCTIONSPACE], but found [/if] instead[/if]

 

 

 

 

I then deleted the IF statement surrounding the loops and got = this:

 

IN-LOOP = ------------
--ELSE1
--ELSE2
--ELSE3
/IN-LOOP = ------------


NOT-IN-LOOP = ------------
--ELSE
/NOT-IN-LOOP ------------

 

 

Running Windows 2003 Server with WebDNA 6.2

 

Mike

 

Michael = DeLorenzo

General Manager

 

Olde Carriage Realty, = Inc.

92 Charlotte = Street

St. Augustine, Florida = 32084

O: 904.824.4500

F: 904.824.6866

michael@oldecarriage.c= om

http://www.oldecarriag= e.com

 

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

 <= /o:p>

Code below = craps the bed until you change "[theNote]" to something like = "[themNotes]" or = "[somethingTotallyDifferent]"

 <= /o:p>

"[_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?

 <= /o:p>

Very = strange to me, so I was hoping for a sanity check... any = takers?

 <= /o:p>

Thanks,=

-Dan

 <= /o:p>

=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

------=_NextPart_000_0668_01CE6B72.2113E9C0-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Bug in WebDNA or in my brain? (John Butler 2013)
  2. Re: [WebDNA] Bug in WebDNA or in my brain? (Steve Graham 2013)
  3. RE: [WebDNA] Bug in WebDNA or in my brain? ("Michael A. DeLorenzo" 2013)
  4. RE: [WebDNA] Bug in WebDNA or in my brain? ("Michael A. DeLorenzo" 2013)
This is a multi-part message in MIME format. ------=_NextPart_000_0668_01CE6B72.2113E9C0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I got this: =20 =20 --ELSE[index] Error: Error: expected [/FUNCTIONSPACE], but found [/loop] = instead[/loop] /IN-LOOP ------------ NOT-IN-LOOP ------------ --ELSE /NOT-IN-LOOP ------------ Error: Error: expected [/FUNCTIONSPACE], but found [/then] = instead[/then] An unknown error occurred: IfNotFound ELSE Error: Error: expected [/FUNCTIONSPACE], but found [/if] instead[/if] =20 =20 =20 =20 I then deleted the IF statement surrounding the loops and got this: =20 IN-LOOP ------------ --ELSE1 --ELSE2 --ELSE3 /IN-LOOP ------------ NOT-IN-LOOP ------------ --ELSE /NOT-IN-LOOP ------------ =20 =20 Running Windows 2003 Server with WebDNA 6.2 =20 Mike =20 Michael DeLorenzo General Manager =20 Olde Carriage Realty, Inc. 92 Charlotte Street St. Augustine, Florida 32084 O: 904.824.4500 F: 904.824.6866 michael@oldecarriage.com http://www.oldecarriage.com =20 From: info@newworldcreative.com [mailto:info@newworldcreative.com]=20 Sent: Monday, June 17, 2013 2:40 PM To: talk@webdna.us Subject: [WebDNA] Bug in WebDNA or in my brain? =20 CentOS 5.9/Apache 2.2.3/WebDNA 6.2 =20 Code below craps the bed until you change "[theNote]" to something like = "[themNotes]" or "[somethingTotallyDifferent]" =20 "[_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? =20 Very strange to me, so I was hoping for a sanity check... any takers? =20 Thanks, -Dan =20 =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 ------------
[loop start=3D1&end=3D3] [if "[theNote]" =3D ""] [then] --THEN[index]
[/then] [else] --ELSE[index]
[/else] [/if] [/loop] /IN-LOOP ------------


NOT-IN-LOOP ------------
[if "[theNote]" =3D ""] [then] --THEN
[/then] [else] --ELSE
[/else] [/if] /NOT-IN-LOOP ------------

[/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 ------=_NextPart_000_0668_01CE6B72.2113E9C0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I got this:

 

 

--ELSE[index]
Error: Error: expected = [/FUNCTIONSPACE], but found [/loop] instead[/loop] /IN-LOOP = ------------


NOT-IN-LOOP = ------------
--ELSE
/NOT-IN-LOOP ------------

Error: Error: = expected [/FUNCTIONSPACE], but found [/then] instead[/then] An unknown = error occurred:
IfNotFound
ELSE


Error: Error: expected = [/FUNCTIONSPACE], but found [/if] instead[/if]

 

 

 

 

I then deleted the IF statement surrounding the loops and got = this:

 

IN-LOOP = ------------
--ELSE1
--ELSE2
--ELSE3
/IN-LOOP = ------------


NOT-IN-LOOP = ------------
--ELSE
/NOT-IN-LOOP ------------

 

 

Running Windows 2003 Server with WebDNA 6.2

 

Mike

 

Michael = DeLorenzo

General Manager

 

Olde Carriage Realty, = Inc.

92 Charlotte = Street

St. Augustine, Florida = 32084

O: 904.824.4500

F: 904.824.6866

michael@oldecarriage.c= om

http://www.oldecarriag= e.com

 

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

 <= /o:p>

Code below = craps the bed until you change "[theNote]" to something like = "[themNotes]" or = "[somethingTotallyDifferent]"

 <= /o:p>

"[_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?

 <= /o:p>

Very = strange to me, so I was hoping for a sanity check... any = takers?

 <= /o:p>

Thanks,=

-Dan

 <= /o:p>

=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

------=_NextPart_000_0668_01CE6B72.2113E9C0-- "Michael A. DeLorenzo"

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:

Mac: LModelDirector bug fix (1997) WC2b15 File Corruption (1997) Forms Search Questions (1997) Re:Emailer and encryption (1997) Fwd: more ! testing (1997) Canadian Postal Codes (2001) [OT] Browser's search via javascript? (2003) Emailer setup (1997) using showpage and showcart commands (1996) WebCat B13 Mac CGI -- Frames question (1997) Cancel Subscription (1996) How much is too much? I can never remember the answer. (2002) READFILE command? (1998) format and math on the fly (1998) Never ending problem.... (2000) Chat Area (2000) Question about replacing words (1998) Kill the webcat process (2000) New random discoveries? (2005) Date Question (2002)