Re: wish list

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41507
interpreted = N
texte = >On 7/12/02 8:31 PM, Kenneth Grome mashed the following keys : > >>> Wish list: >>> >>> 1 Same options in [showif]/[hideif] that we have in [IF]. I use tons of >>> these and the [IF] function gets hard to find and confusing on complex >>> pages. Especially when many are nested. >> >> I never use [if]s because I agree that they are more confusing than >> showifs and hideifs, and from everything I have learned there is >> nothing if's can do that showif's cannot .. > >I used to think this too, but there are some times when it's pretty nice: > >[if [some_dynamically_generated_statement]=Whatever] >[then] >Something >[/then] > >[else] >Here is where I think if is cool, because you can have one statement, as >opposed to 30 nested showifs >[/else] > >[/if] > > >Technically you're correct that a showif can do the same thing, but nested >showifs 'gone bad' can be a bitch to figure out.I guess I never do the kind of comparisons you're talking about, or maybe I don't understand your example. From your code above, wouldn't this do the same thing?:[showif [some_dynamically_generated_statement]=Whatever] Something [/showif][showif [some_dynamically_generated_statement]!Whatever] Something Else [/showif] Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines 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:

    
  1. Re: [WebDNA] Wish list (William DeVaul 2010)
  2. Re: [WebDNA] Wish list (Stuart Tremain 2010)
  3. [WebDNA] Wish list (Marc Thompson 2010)
  4. Re: wish list (Grant Hulbert 2002)
  5. Re: wish list (Andrew Simpson 2002)
  6. Re: wish list (Adam O'Connor 2002)
  7. Re: wish list (Glenn Busbin 2002)
  8. Re: wish list (Kenneth Grome 2002)
  9. Re: wish list (Adam O'Connor 2002)
  10. Re: wish list (Rob Marquardt 2002)
  11. Re: wish list (Aaron Lynch 2002)
  12. Re: wish list (Glenn Busbin 2002)
  13. Re: wish list (Aaron Lynch 2002)
  14. Re: wish list (Grant Hulbert 2002)
  15. Re: wish list (Paul Uttermohlen 2002)
  16. Re: wish list (Nitai @ ComputerOil 2002)
  17. Re: wish list (Kenneth Grome 2002)
  18. Re: wish list (Nitai @ ComputerOil 2002)
  19. Re: wish list (Kenneth Grome 2002)
  20. Re: wish list (Jesse Williams-Proudman 2002)
  21. Re: wish list (Kenneth Grome 2002)
  22. Re: wish list (Aaron Lynch 2002)
  23. Re: wish list (Kenneth Grome 2002)
  24. Re: wish list (marc malacarme 2002)
>On 7/12/02 8:31 PM, Kenneth Grome mashed the following keys : > >>> Wish list: >>> >>> 1 Same options in [showif]/[hideif] that we have in [if]. I use tons of >>> these and the [if] function gets hard to find and confusing on complex >>> pages. Especially when many are nested. >> >> I never use [if]s because I agree that they are more confusing than >> showifs and hideifs, and from everything I have learned there is >> nothing if's can do that showif's cannot .. > >I used to think this too, but there are some times when it's pretty nice: > >[if [some_dynamically_generated_statement]=Whatever] >[then] >Something >[/then] > >[else] >Here is where I think if is cool, because you can have one statement, as >opposed to 30 nested showifs >[/else] > >[/if] > > >Technically you're correct that a showif can do the same thing, but nested >showifs 'gone bad' can be a bitch to figure out.I guess I never do the kind of comparisons you're talking about, or maybe I don't understand your example. From your code above, wouldn't this do the same thing?:[showif [some_dynamically_generated_statement]=Whatever] Something [/showif][showif [some_dynamically_generated_statement]!Whatever] Something Else [/showif] Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines 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:

unsubscribe (1997) HELP..Changing Price after adding to cart. (1999) Weird Math and SV (1997) Emailer help....! (1997) PCS Frames (1997) [random] only for 1-100??? (1997) Problems with [Search] param - Mac Plugin b15 (1997) Running _every_ page through WebCat ? (1997) WebDNA 4.5 not starting on boot? (2002) Re:2nd WebCatalog2 Feature Request (1996) Major bug report on rootbeer (1997) Conference? Heres my sniplete contribution! (1998) Date Range search (1997) Max Record length (1997) Nested [SEARCH] and [REPLACE] problem. (1997) [input] [/input] (1997) Question about replacing words (1998) Why is my easy [AddLineItems] NOT working?? MORE (2000) Alternating colors (1997) Using webcat to roll apache logs (2002)