Re: Loops and [index]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19404
interpreted = N
texte = Set a math variable before entering the second loop:[loop start=1&end=10] [math show=f]OuterLoopIndex=[index][/math] [loop start=1&end=10] The inner loop index is: [index]
The outer loop index is: [math]OuterLoopIndex[/math]
[/loop] [/loop]At 5:54 PM 8/11/98, Bill Norman wrote: >I have a loop within a loop and I want to use the [index] number from >the first loop. How would I go about doing that. > > >example: > >[loop start=1&end=[INTRows]] > > > >[loop start=1&end=[INTCols]] > > > > > > > >[/loop] > > > >[/loop] > > >Bill Norman o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: Loops and [index] (Kenneth Grome 1998)
  2. Re: Loops and [index] (Trevor Crist 1998)
  3. Re: Loops and [index] (Dave MacLeay 1998)
  4. Loops and [index] (webmaster@textileweb.net (Bill Norman) 1998)
Set a math variable before entering the second loop:[loop start=1&end=10] [math show=f]OuterLoopIndex=[index][/math] [loop start=1&end=10] The inner loop index is: [index]
The outer loop index is: [math]OuterLoopIndex[/math]
[/loop] [/loop]At 5:54 PM 8/11/98, Bill Norman wrote: >I have a loop within a loop and I want to use the [index] number from >the first loop. How would I go about doing that. > > >example: > >[loop start=1&end=[INTRows]] > > > >[loop start=1&end=[INTCols]] > > > > > > > >[/loop] > > > >[/loop] > > >Bill Norman o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

New Command prefs ... (1997) [ignore this] Wierd display error.... (2004) ReadDateFormat (1998) Database of Tax Rates? (1997) Extended [ConvertChars] (1997) Resume Catalog ? (1997) [WebDNA] WebDNA7 config help (2012) transferring values (1998) Re:2nd WebCatalog2 Feature Request (1996) Shownext never shows next...still (1997) Classifieds (2000) Showing Results Alphabetically in Columns (top to bottom) (2002) AAAH: stupid sendmail (2001) apostrophe in search item (1997) WebDNA 5.0 Questions (2003) F3 crashing server (1997) Is this possible, WebCat2.0 and checkboxes (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) shipCost -vs- shippingtotal ? (2000) WebCat2 - [include] tags (1997)