What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114943
interpreted = N
texte = 2571 --Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 One thing common with WebDNA (quite a lot of it=E2=80=99s tags / = contexts)=E2=80=A6 if invalid, one can expect random results.=20 ---------------------- Testing the individual expressions, they both work correctly. (2=3D2) = executes the TRUE clause, while (ABC>0) executes the FALSE clause: [if (2=3D2)][then] TRUE [/then][else] FALSE [/else][/if] [if (ABC>0)][then] TRUE [/then][else] FALSE [/else][/if] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 I suppose, one could argue that, the fact this produces FALSE: [if (ABC>0)][then] TRUE [/then][else] FALSE [/else][/if] Is just a random result.=20 -------------- Interestingly, switching the order of the expressions, correctly = evaluates to the FALSE clause: [if (ABC>0) & (2=3D2)][then] TRUE [/then][else] FALSE [/else][/if] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 Same idea here. One invalid param can cause random results.=20 However, in general, I agree that consistent behavior (even if invalid) = would be a nice improvement.=20 Hope all is well Sir!, Donovan Donovan Brooke Owner - EUCA (608) 770-3822 355 E State St. APT 8 Iola, WI 54945 --Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
One thing common with WebDNA (quite a lot of it=E2=80=99s = tags / contexts)=E2=80=A6 if invalid, one can expect random = results. 

----------------------
Testing the = individual expressions, they both work correctly. (2=3D2) executes the = TRUE clause, while (ABC>0) executes the FALSE clause:

[if (2=3D2)][then]
TRUE
[/then][else]
FALSE
[/else][/if]

[if (ABC>0)][then]
TRUE
[/then][else]
FALSE
[/else][/if]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94


I suppose, one could argue that, the fact this produces = FALSE:

[if = (ABC>0)][then]
TRUE
[/then][else]
FALSE
[/else][/if]


Is just a random = result. 


--------------
Interestingly, switching the order of the expressions, = correctly evaluates to the FALSE clause:

[if = (ABC>0) & (2=3D2)][then]
TRUE
[/then][else]
FALSE
[/else][/if]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94


Same= idea here. One invalid param can cause random results. 

However, in general, I = agree that consistent behavior (even if invalid) would be a nice = improvement. 

Hope all is well Sir!,

Donovan



Donovan Brooke
Owner - = EUCA
(608) 770-3822

355 E State St. APT 8
Iola, WI = 54945



= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 (Brian Fries 2019)
  2. RE: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 ("Scott @ Itsula" 2019)
  3. Re: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 (Donovan Brooke 2019)
  4. Re: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 (Brian Fries 2019)
  5. RE: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 ("Scott @ Itsula" 2019)
  6. [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 (Brian Fries 2019)
2571 --Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 One thing common with WebDNA (quite a lot of it=E2=80=99s tags / = contexts)=E2=80=A6 if invalid, one can expect random results.=20 ---------------------- Testing the individual expressions, they both work correctly. (2=3D2) = executes the TRUE clause, while (ABC>0) executes the FALSE clause: [if (2=3D2)][then] TRUE [/then][else] FALSE [/else][/if] [if (ABC>0)][then] TRUE [/then][else] FALSE [/else][/if] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 I suppose, one could argue that, the fact this produces FALSE: [if (ABC>0)][then] TRUE [/then][else] FALSE [/else][/if] Is just a random result.=20 -------------- Interestingly, switching the order of the expressions, correctly = evaluates to the FALSE clause: [if (ABC>0) & (2=3D2)][then] TRUE [/then][else] FALSE [/else][/if] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 Same idea here. One invalid param can cause random results.=20 However, in general, I agree that consistent behavior (even if invalid) = would be a nice improvement.=20 Hope all is well Sir!, Donovan Donovan Brooke Owner - EUCA (608) 770-3822 355 E State St. APT 8 Iola, WI 54945 --Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
One thing common with WebDNA (quite a lot of it=E2=80=99s = tags / contexts)=E2=80=A6 if invalid, one can expect random = results. 

----------------------
Testing the = individual expressions, they both work correctly. (2=3D2) executes the = TRUE clause, while (ABC>0) executes the FALSE clause:

[if (2=3D2)][then]
TRUE
[/then][else]
FALSE
[/else][/if]

[if (ABC>0)][then]
TRUE
[/then][else]
FALSE
[/else][/if]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94


I suppose, one could argue that, the fact this produces = FALSE:

[if = (ABC>0)][then]
TRUE
[/then][else]
FALSE
[/else][/if]


Is just a random = result. 


--------------
Interestingly, switching the order of the expressions, = correctly evaluates to the FALSE clause:

[if = (ABC>0) & (2=3D2)][then]
TRUE
[/then][else]
FALSE
[/else][/if]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94


Same= idea here. One invalid param can cause random results. 

However, in general, I = agree that consistent behavior (even if invalid) would be a nice = improvement. 

Hope all is well Sir!,

Donovan



Donovan Brooke
Owner - = EUCA
(608) 770-3822

355 E State St. APT 8
Iola, WI = 54945



= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D-- . Donovan Brooke

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:

About Include (2001) MacAuthorize Problem (1998) [BoldWords] WebCat.acgib15Mac (1997) Possible Bug in 2.0b15.acgi (1997) Date search - yes or no (1997) Add a Blog to your site. (2002) Locking up with WebCatalog... (1997) POS (2000) Erotic Sites (1997) Not really WebCat (1997) dos performance (1998) Failing Email (2004) [WebDNA] Triggers issue, or sendmail? (2012) carriage returns in data (1997) default value from Lookup (was Grant, please help me) (1997) international time (1997) Upgrading old WebCat Database Files (1997) [ot] Any One Want A WebDNA Billing Program? (2003) [append] problem (1997) Using Plug-In while running 1.6.1 (1997)