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:
WebCat2_Mac RETURNs in .db (1997)
Questions on Mac WC 3.0.5b13 (2000)
Stopping bad HTML propagation ? (1997)
Layers,Dreamweaver and WebCat Code (2000)
New command suggestion (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
[searh] or [shownext]problem (1998)
bannerads example idiot (1997)
Cookies and webcat (1997)
Problems getting parameters passed into email. (1997)
Number of Open Databases (1998)
anyone using Webcat 4.x in production? (2000)
Summary search -- speed (1997)
Dynamically Generated Pages & WC? (2000)
automating txt downloads for conversion to webcat db (2006)
Database Updates (1997)
Bad Suffix (1999)
Nesting WebDNA in JavaScript (2003)
WebCatalog Install Problems (2000)
$flushcache causes crash (2000)