Re: [random] only for 1-100???

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13296
interpreted = N
texte = >>>Is there anyway to specify the range of numbers [random] uses, rather than >>>the default 1-100?>>Use some math on the random number before you use the resulting >>number for your particular needs ... :)>Sure, sure. However, I was hoping just maybe I wouldn't have to massage >my data every time I need a random value other then between 1-100. Geez, >even Basic 2.0 on my old Commodore 64 had an RND function...All it takes is writing the WebDNA once, and then you have a solution you can re-use forever with minimal changes to accommodate your specific needs ... provided you write it right the first time.Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: [random] only for 1-100??? (Kenneth Grome 1997)
  2. Re: [random] only for 1-100??? (Kenneth Grome 1997)
  3. Re: [random] only for 1-100??? (Kenneth Grome 1997)
  4. Re: [random] only for 1-100??? (Daniel Cameron 1997)
  5. Re: [random] only for 1-100??? (Daniel Cameron 1997)
  6. [random] only for 1-100??? (Daniel Cameron 1997)
>>>Is there anyway to specify the range of numbers [random] uses, rather than >>>the default 1-100?>>Use some math on the random number before you use the resulting >>number for your particular needs ... :)>Sure, sure. However, I was hoping just maybe I wouldn't have to massage >my data every time I need a random value other then between 1-100. Geez, >even Basic 2.0 on my old Commodore 64 had an RND function...All it takes is writing the WebDNA once, and then you have a solution you can re-use forever with minimal changes to accommodate your specific needs ... provided you write it right the first time.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:

empty shopping cart message (1997) displaying [cart] contents with a pull-down & frames (1998) [WebDNA] Cookies & localhost (2008) SSL and 2.1.1 .acgi (1998) problems with 2 tags shakur (1997) Add a Blog to your site. (2002) upgrade? (1997) Cool new site (1996) Requiring that certain fields be completed (1997) [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019) Problems appending to database (1997) Templates on Unix & CGI on Mac? (1997) problems with 2 tags (1997) [WebDNA] SEARCH question (2011) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [WebDNA] how to purge webdna cache of templates? (2009) Multiple Items (1998) Simple way to create unique SKU (1997) MOOOOOO (2000) RE: Error: template (1997)