Re: Nested [tags]

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37600
interpreted = N
texte = on 2/8/01 8:07 pm, Glenn Busbin at gbusbin@home.com wrote:>> >> >> the check is to see if [bundle1], [bundle2] etc. are blank fields or not. >> >> > > > Which is why I asked if [index] can ever be anything other than an integer > when it's used within a [loop]. > > If not, there is no need for the [showif]'s. > > Glenn > [showif [interpret][bundle[index]][/interpret]!] (Which works just great!) is not checking whether [index] is empty.It's merely checking whether [bundleX] is an empty field (where X is a value between 1 and 9 set by a [loop] context) This way, if that field is empty it simply skips it, and moves on to the next loop.------------------------------------------------------------- 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: Nested [tags] (Kenneth Grome 2001)
  2. Re: Nested [tags] (Samuel Renkert 2001)
  3. Re: Nested [tags] (Samuel Renkert 2001)
  4. Re: Nested [tags] (Mark Derrick 2001)
  5. Re: Nested [tags] (Glenn Busbin 2001)
  6. Re: Nested [tags] (Celeste Paul 2001)
  7. Re: Nested [tags] (Anup Setty 2001)
  8. Re: Nested [tags] (Glenn Busbin 2001)
  9. Re: Nested [tags] (Mark Derrick 2001)
  10. Re: Nested [tags] (Glenn Busbin 2001)
  11. Re: Nested [tags] (Gene Beljaeff 2001)
  12. Re: Nested [tags] (Anup Setty 2001)
  13. Re: Nested [tags] (Anup Setty 2001)
  14. Nested [tags] (Mark Derrick 2001)
on 2/8/01 8:07 pm, Glenn Busbin at gbusbin@home.com wrote:>> >> >> the check is to see if [bundle1], [bundle2] etc. are blank fields or not. >> >> > > > Which is why I asked if [index] can ever be anything other than an integer > when it's used within a [loop]. > > If not, there is no need for the [showif]'s. > > Glenn > [showif [interpret][bundle[index]][/interpret]!] (Which works just great!) is not checking whether [index] is empty.It's merely checking whether [bundleX] is an empty field (where X is a value between 1 and 9 set by a [loop] context) This way, if that field is empty it simply skips it, and moves on to the next loop.------------------------------------------------------------- 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/ Mark Derrick

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:

Almost a there but..bye bye NetCloak (1997) What am I missing (1997) JavaScript question (2001) [sendmail] on NT? (1997) [tcpconnect] > SSH? (2002) Mac Lockup Problems (1998) Replacing a Word (1999) RE: webcat error log (1998) Secure Server (1999) Updating database (1998) A few questions. . . (1997) RE: 2nd WebCatalog2 Feature Request (1996) secret [cmd] variable? (2004) Nitro plugin? (1998) WC2/Mac -- Forms not submitting correctly with Mac browsers (1997) Multiple prices (1997) WebCat2b13MacPlugIn - [include] (1997) FlushDatabase Suggestion (1998) bug in [SendMail] (1997) Refresh cart# (1999)