Re: wish list
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41510
interpreted = N
texte = On 13.7.2002 11:09 AM, Kenneth Grome
wrote:>> Yes, but what if you want to do something like:>> >> [if ([dynamic_statement]=yes) | ([dynamic_statement]=no][then] Do>> This[/then][else]>> Do That>> [/else][/if]> > > Then I do it like this:> > [showif .yes.no.^.[dynamic_statement].]> Do this> [/showif]> > [hideif .yes.no.^.[dynamic_statement].]> Do That> [/hideif]Actually for me does the if-then-else makes a lot of sense when you need toand things together to execute a code, like:[if ((somecode=someresult) & (needthis=needthis) &(needthis2=needthis2) & (needthis3=needthis3))][then]Some mumbajumbo[/then][else]Another one here[/else][/if]Just makes the code cleaner then doing 5 nested showifs. But after all, codeas you want:-)SincerelyNitai AventaggiatoCEO-- Tools to energize businessContent Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/Hauptstrasse 12 info@computeroil.com8252 Schlatt/SwitzerlandTel: +41 (0)52 654 15 55Fax: +41 (0)52 654 15 59-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
On 13.7.2002 11:09 AM, Kenneth Grome wrote:>> Yes, but what if you want to do something like:>> >> [if ([dynamic_statement]=yes) | ([dynamic_statement]=no][then] Do>> This[/then][else]>> Do That>> [/else][/if]> > > Then I do it like this:> > [showif .yes.no.^.[dynamic_statement].]> Do this> [/showif]> > [hideif .yes.no.^.[dynamic_statement].]> Do That> [/hideif]Actually for me does the if-then-else makes a lot of sense when you need toand things together to execute a code, like:[if ((somecode=someresult) & (needthis=needthis) &(needthis2=needthis2) & (needthis3=needthis3))][then]Some mumbajumbo[/then][else]Another one here[/else][/if]Just makes the code cleaner then doing 5 nested showifs. But after all, codeas you want:-)SincerelyNitai AventaggiatoCEO-- Tools to energize businessContent Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/Hauptstrasse 12 info@computeroil.com8252 Schlatt/SwitzerlandTel: +41 (0)52 654 15 55Fax: +41 (0)52 654 15 59-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Nitai @ ComputerOil
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:
Count Characters (2005)
Problem with empty form-variables in [search] (1998)
Using Plug-In while running 1.6.1 (1997)
autocommit problem (1998)
ITools 8 and WebDNA6 (2005)
WC1.6 to WC2 date formatting -FIXED! (1997)
WebCAT has the devil in it! (2003)
Re:What file? (1997)
form data submission gets truncated (1997)
multi-paragraph fields (1997)
Bug? (1997)
[WebDNA] Date weirdness (2014)
SQL Changes in 3.0.7? (2000)
snicker, snicker (1997)
Providing hard copy of database to client (1997)
Re[2]: Re[3]: Problem with new formvariables (2000)
WebCatalog2 Feature Feedback (1996)
UPDATE PROBLEM (1997)
WebCatalog f2 Installation (1997)
U&P IIS concept (1998)