Re: Looping control

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13432
interpreted = N
texte = >>Can I stop a loop after a certain condition is met ... when that >>condition is defined by something that happens inside the loop? > >No, sorry I didn't answer this earlier. Currently you cannot break >out of a loop, so the only workaround I can think of would be to put >a [showif] inside the loop to prevent the contents from executing >after your condition is met.That won't stop the looping, but if the results are the same, what's the difference, right? I'll try it, thanks ... :)Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Looping control (Kenneth Grome 1997)
  2. Re: Looping control (Grant Hulbert 1997)
  3. Looping control (Kenneth Grome 1997)
>>Can I stop a loop after a certain condition is met ... when that >>condition is defined by something that happens inside the loop? > >No, sorry I didn't answer this earlier. Currently you cannot break >out of a loop, so the only workaround I can think of would be to put >a [showif] inside the loop to prevent the contents from executing >after your condition is met.That won't stop the looping, but if the results are the same, what's the difference, right? I'll try it, thanks ... :)Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html 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:

page redirect in webDNA (1997) Country & Ship-to address & other fields ? (1997) # fields limited? (1997) MacWEEK article help needed (1996) problems with 2 tags (1997) Re[2]: Images (2000) Re:2nd WebCatalog2 Feature Request (1996) Search Question (2000) Calendar Program (2004) quotes and truncating? (1997) Pop-up Menu (1998) system crashes, event log (1997) UPPERCASE (1997) IP Address Ranges in a Database. (2003) Virtual hosting and webcatNT (1997) [isfolder] and [filename] (1997) unable to run webcatalog locally (1998) shipcost (1997) File Uploads: WebCat/SiteEdit (1998) ShowNext truncating passed variable?? (1997)