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:

[protect admin] (1997) Completed Orders (2006) Why is [authenticate] not recognizing [username] on all site directories? (2000) Re1000002: Setting up shop (1997) WebCatalog-NT?'s (1996) WebMerchant 1.6 and SHTML (1997) generate sequential numbers (2000) Fishing: anyone on this group willing to do support? (1998) Bug Report, maybe (1997) Silly Question (2003) [WebDNA] Admin Login Required to Serve any TPL Page (2009) HTML encoding in URLs (1997) shipcost vs shiptotal (1998) WebCatalog on LinuxPPC (2000) New global preference ... ??? (2000) WebCatalog not recognizing ShoppingCarts folder (2000) Multiple adding (1997) middle (2003) I have troubles to send message out (1998) Fwd: Problem with order (1998)