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.
Menu
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.
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.
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-742FA7E3007DContent-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=utf-8One 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=94I 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=94Same idea here. One invalid param can cause random results.=20However, in general, I agree that consistent behavior (even if invalid) =would be a nice improvement.=20Hope all is well Sir!,DonovanDonovan BrookeOwner - EUCA(608) 770-3822355 E State St. APT 8Iola, WI 54945--Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007DContent-Transfer-Encoding: quoted-printableContent-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:
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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D--.
Associated Messages, from the most recent to the oldest:
2571--Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007DContent-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=utf-8One 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=94I 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=94Same idea here. One invalid param can cause random results.=20However, in general, I agree that consistent behavior (even if invalid) =would be a nice improvement.=20Hope all is well Sir!,DonovanDonovan BrookeOwner - EUCA(608) 770-3822355 E State St. APT 8Iola, WI 54945--Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007DContent-Transfer-Encoding: quoted-printableContent-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:
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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail=_AC438E1D-CBAA-4EBC-984C-742FA7E3007D--.
Donovan Brooke
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...