[WebDNA] [random] limit 1-10
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105649
interpreted = N
texte = Hello Everyone,I would like to use the [random] tag but limit it to 1 thru 10. (or =maybe 11, but the 1-99 in the docs is right out)I've tried to put it within a [loop] to 1000, and then test it each time =to see if was within limits, but it didn't work with the=20[/loop] [/then] and [break] tags each causing way too much fussiness.I've searched the old archives, but found no real help there.I know that one of you out there in the blogosphere probably has a real =elegant solution.Any insight on how to control this random mess would be greatly =appreciated.Thanks in advance.Steve Braun=
Associated Messages, from the most recent to the oldest:
Hello Everyone,I would like to use the
[random] tag but limit it to 1 thru 10. (or =maybe 11, but the 1-99 in the docs is right out)I've tried to put it within a
[loop] to 1000, and then test it each time =to see if was within limits, but it didn't work with the=20[/loop] [/then] and [break] tags each causing way too much fussiness.I've searched the old archives, but found no real help there.I know that one of you out there in the blogosphere probably has a real =elegant solution.Any insight on how to control this random mess would be greatly =appreciated.Thanks in advance.Steve Braun=
Stephen Braun
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:
Draft Manual, Tutorial, and more (1997)
Two submit buttons ? (1997)
redirect with frames (1997)
authorizenet (2002)
OT: Browser based spell check (2002)
Emailer choke (1997)
Emailer (WebCat2) (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Repeating Fields (1997)
WebCat2b12 - nesting [tags] (1997)
Re:quit command on NT (1997)
Protect (1997)
shipcost (1997)
Grouping Fields (2006)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
I read the manual (2000)
WebCatalog [FoundItems] Problem - LONG - (1997)
I'm having trouble using [url][interpret][math] together inlookup (1997)
international time (1997)