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:
Generating Report Totals (1997)
Configuring E-mail (1997)
Showing unopened cart (1997)
accountnum using [listwords] (2001)
WebDNA Server Spec (2004)
[WebDNA] hide [DOS] command strings on resulting page (2016)
RE: Languages (1997)
syntax question, not in online refernce (1997)
Separate SSL Server (1997)
Caching [include] files ... (1997)
NT version and O'reily's WebSite (1997)
Dealer locator (1998)
Item counting? (1998)
Country & Ship-to address & other fields ? (1997)
So what ya working on? (or have you completed?) (2004)
RE: Missing contexts on NT (1997)
Removing [showif] makes a big difference in speed (1997)
Why did this copyfile stop working? (2004)
WC1.6 to WC2 date formatting (1997)
suffix mapping for NT? (1997)