Re: [WebDNA] [random] limit 1-10

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105650
interpreted = N
texte = [math]1+[getchars start=1&end=1][random][/getchars][/math] > > 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 > [/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--------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [random] limit 1-10 (Stephen Braun 2010)
  2. Re: [WebDNA] [random] limit 1-10 ("Dan Strong" 2010)
  3. Re: [WebDNA] [random] limit 1-10 (Govinda 2010)
  4. Re: [WebDNA] [random] limit 1-10 (Tom Duke 2010)
  5. Re: [WebDNA] [random] limit 1-10 ("Dan Strong" 2010)
  6. Re: [WebDNA] [random] limit 1-10 (Kenneth Grome 2010)
  7. [WebDNA] [random] limit 1-10 (Stephen Braun 2010)
[math]1+[getchars start=1&end=1][random][/getchars][/math] > > 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 > [/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--------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > 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:

restarting service remotely on NT (1997) Upgrading old WebCat Database Files (1997) PIXO (1997) Searching the same field with 2 form variables. (2000) Simple Survey (2001) [/application] error? (1997) [WebDNA] .dna and Dreamweaver (2014) A little syntax help (1997) Setting up WebCatalog with Retail Pro data (1996) docs for WebCatalog2 (1997) FREE Web Server Monitor FREE (1997) [WebDNA] Character encoding / entity database? (2009) max page views Mac can handle (1999) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Sorting by date (1997) webcat- multiple selection in input field (1997) Add to a field (1998) Server crash (1997) [isfile] ? (1997) Orderfile (2005)