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:
[WriteFile] problems (1997)
How Many SKU's is enough? (1997)
RE: [WebDNA] Scheduling App (2017)
WebMerchant Error (1998)
Allow-Deny: Solved with [Getchars] (1998)
Using Applescript to process WebCatalog functions (1998)
Clickable maps and WebCatalog? (1996)
Word wrapping (1997)
pc (1997)
Re:Merging databases (1997)
WebCat b15 Mac plug-in (1997)
Mac 2.1b4 unknown error: BadSuffix (1997)
WebCatalog can't find database (1997)
Projects & Contractors (1997)
New servers and new inline cache (1997)
A zip code search (1998)
Search in 2 or more catalogs (1997)
Combining search criteria (2000)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
Stopping bad HTML propagation ? (1997)