Re: Looping control
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13431
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.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
PCS Emailer's role ? (1997)
WebMerchant? (1998)
Major bug report on rootbeer (1997)
Web Catalog vs. ICAT (1997)
BBEdit WedDNA Codeless Language Module (2004)
Protect (1997)
Just a thought (1998)
Max Record length restated as maybe bug (1997)
Emailer problem (1998)
need help please (1997)
Bug? (1997)
(1998)
Replacefounditems (2003)
GuestBook example (1997)
WebTen and WebCat (1997)
graphing (2004)
Emailer Set Up (1997)
[OT] What log analyzer do you use? (2000)
Passing info in [Addlineitem] (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)