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:
Sendmail: bounced e-mails (2001)
[shownext] (1998)
[WebDNA] [BULK] Mac OS X LION has no FastCGI (2011)
PSC recommends what date format yr 2000??? (1997)
RE: Languages (1997)
RE: WebCatalog2 for NT Beta Request (1997)
Physical Security for WebCatalog Directories (1997)
WebCat2 - [format thousands] (1997)
Rhapsody? (1997)
CommandSecurity? (1997)
sorting by date (1999)
SKU lookup (1997)
'RequiredField' Question (1998)
FWD: Returned mail: Too many hops 18 (17 max): from
creating a 60 fields database (1997)
Date or time comparisons have bugs ... (1998)
CC: (1998)
Webcatalog server support (1997)
QuitFeedback & DBNotOpened errors (1997)
populating a [table] (2004)