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:

Execute Applescript (1997) File perms (2002) Javascript Form Validation (2002) 2.0Beta Command Ref (can't find this instruction) (1997) Country & Ship-to address & other fields ? (1997) Stumpted Again (1997) webcatalog [date] bug (1999) WebCat2b12 forgets serial # (1997) cookies and [returnraw] (1997) Nested tags count question (1997) Forcing a NEWCART (1997) Adding up line items. (2000) Interfacing WebMerchant to www.fedex.com (1997) PCS Frames-Default page is solution! (1997) RE: Writefile outside WebSTAR hierarchy? (1997) newcart (1997) database size? (1997) [WebDNA] Connect to MS SQL (2013) db protection on NT (1997) Associative lookup style? + bit more (1997)