[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:
Searching the same field with 2 form variables. (2000)
Spell Check (2003)
japanese characters (1997)
Country & Ship-to address & other fields ? (1997)
[WebDNA] Fwd: RETS... HELP! (2009)
Listserver problem (1997)
How can I Add several Items into the cart at once? (1997)
Error Lob.db records error message not name (1997)
Review comparison by PC Magazine: Open for On-lineBusiness (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
So many lookers, hey smith micro (2003)
Math, Multiple Equasions and Show/Hide (1998)
[SHOWIF] (1997)
WebCat b13 CGI -shownext- (1997)
Deleting associated records from 2 different databases (2001)
Need help with [cart] (2000)
WebCat Admin access w/ClearlyHome p.i. (1997)
Multiple prices (1997)
Server crash (1997)
(1998)