Re: wish list
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41511
interpreted = N
texte = >Actually for me does the if-then-else makes a lot of sense when you need to>and 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, code>as you want:-)There's no reason to nest 5 showif's to get the same results as in your example, that's for sure. In fact, you don't have to nest any showif's, you can do it with one showif and one hideif. The logic is similar to my last example:[showif .[somecode].[needthis].[needthis2].[needthis3].=.someresult.needthis.needthis2.needthis3.]Some mumbajumbo[/showif][hideif .[somecode].[needthis].[needthis2].[needthis3].=.someresult.needthis.needthis2.needthis3.]Another one here[/hideif]Sincerely,Kenneth Grome---------------------------------------------------WebDNA Professional Training and Development Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines http://www.webdna.net----------------------------------------------------------------------------------------------------------------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:
>Actually for me does the if-then-else makes a lot of sense when you need to>and 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, code>as you want:-)There's no reason to nest 5 showif's to get the same results as in your example, that's for sure. In fact, you don't have to nest any showif's, you can do it with one showif and one hideif. The logic is similar to my last example:[showif .[somecode].[needthis].[needthis2].[needthis3].=.someresult.needthis.needthis2.needthis3.]Some mumbajumbo[/showif][hideif .[somecode].[needthis].[needthis2].[needthis3].=.someresult.needthis.needthis2.needthis3.]Another one here[/hideif]Sincerely,Kenneth Grome---------------------------------------------------WebDNA Professional Training and Development Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines http://www.webdna.net----------------------------------------------------------------------------------------------------------------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/
Kenneth Grome
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:
two domains and one cart and database (2000)
Progress !! WAS: Trouble with formula.db (1997)
Add all products to cart at once? (1997)
calculating tax rates, mail order solutions and version 2 (1997)
Where's Cart Created ? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
404 error page issue (2006)
Forcing Paragraph Breaks on Results (1998)
looking for developers with solutions (2000)
Other Databases, access, filemaker etc. (2000)
Stumpted Again (1997)
[WebDNA] [OT] potential cheap WebDNA server? (2009)
this works sometimes and sometimes not (1997)
[WebDNA] SWITCH/CASE or SHOWIF (2008)
WebCat2: multiple currency support (1997)
choice of images (2000)
Buying sans cart (1997)
WebCat2 several catalogs? (1997)
Help!HELP!HELP! (1999)
Help name our technology! (1997)