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:
autocommit problem (1998)
Triggers Suck! (2000)
Directory Overload (1998)
WebDNA 6.0 & MAC OS X Server 10.4.10 (2007)
Summ=T Problem (1997)
Attn: Scott / Le - webdna 6.0a patch and mysql (2005)
Emailer update for Mac? (1998)
IIS4/IIS3 and WebCatalog registry settings (1998)
taxRate is fine but taxTotal isn't (1997)
Speed Optimization - Mac (1997)
Bug? (1997)
First postarg not taking in $Commands (1997)
Tax Collection for Different Items (2003)
Major OT shopping cart test request. (2002)
SetHeader context (1998)
Displaying xx number of characters (1997)
[replace] anomaly?? (2000)
Polls (2003)
Sorting error (1997)
Problems with [Applescript] (1997)