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

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110462
interpreted = N
texte = --Apple-Mail=_04E44FFD-5DAE-4F79-9488-C3F7CF7E915B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Great discernment Steve! I might have spend hours on that without = catching what you did. Of course it is not confirmed ... but who wants = to bet against your estimation. On 2013-06-18, at 8:53 AM, Steve Graham wrote: > Internal parser bug. Webdna sees [theNote] as [then]. >=20 >=20 > On Mon, Jun 17, 2013 at 1:39 PM, wrote: > 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 >=20 > --------------------------------------------------------- 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 --Apple-Mail=_04E44FFD-5DAE-4F79-9488-C3F7CF7E915B Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1 Great discernment Steve!  I might have spend hours on that without catching what you did.  Of course it is not confirmed ... but who wants to bet against your estimation.


On 2013-06-18, at 8:53 AM, Steve Graham wrote:

Internal parser bug. Webdna sees [theNote] as [then].


On Mon, Jun 17, 2013 at 1:39 PM, <info@newworldcreative.com> wrote:
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]"
 
"[_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"]
    [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]
--------------------------------------------------------- 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

--------------------------------------------------------- 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

--Apple-Mail=_04E44FFD-5DAE-4F79-9488-C3F7CF7E915B-- 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)
  5. [WebDNA] Bug in WebDNA or in my brain? (info@newworldcreative.com 2013)
--Apple-Mail=_04E44FFD-5DAE-4F79-9488-C3F7CF7E915B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Great discernment Steve! I might have spend hours on that without = catching what you did. Of course it is not confirmed ... but who wants = to bet against your estimation. On 2013-06-18, at 8:53 AM, Steve Graham wrote: > Internal parser bug. Webdna sees [theNote] as [then]. >=20 >=20 > On Mon, Jun 17, 2013 at 1:39 PM, wrote: > 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 >=20 > --------------------------------------------------------- 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 --Apple-Mail=_04E44FFD-5DAE-4F79-9488-C3F7CF7E915B Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1 Great discernment Steve!  I might have spend hours on that without catching what you did.  Of course it is not confirmed ... but who wants to bet against your estimation.


On 2013-06-18, at 8:53 AM, Steve Graham wrote:

Internal parser bug. Webdna sees [theNote] as [then].


On Mon, Jun 17, 2013 at 1:39 PM, <info@newworldcreative.com> wrote:
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]"
 
"[_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"]
    [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]
--------------------------------------------------------- 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

--------------------------------------------------------- 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

--Apple-Mail=_04E44FFD-5DAE-4F79-9488-C3F7CF7E915B-- John Butler

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:

hmmm (2006) Cart passing in URL... (2004) Truncated value after space - refresh my memory.... (1997) [OT] What log analyzer do you use? (2000) Page Showing 3 times (2000) WebCat2b13MacPlugin - nested [xxx] contexts (1997) WebTen and WebCat (1997) FM PRO Compatibility Issue - Single Database w/o Conversions (1997) database visibility (2000) Error: Too many nested [xxx] contexts (1997) Reversed words (1997) rename a file (1997) Slow Server (2005) [WebDNA] Error 500 with SUMM=T (2017) For those of you not on the WebCatalog Beta... (1997) Using Currencies other than Dollars (1997) autosensing lanague selection (1997) displaying New products (using [date]) (1997) Emailer errors (1997) WebCat BeOS (2002)