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:

M$loth messes with our sites (again) 2004/02/03 (2004) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Max DB Size (2004) Ready,Set; Print! (1999) Before I Can Begin . . . (1998) Quitting WebMerchant ? (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) forming a SKU (1999) The Classifieds template set (2003) Client-side Image Maps and WebCat? (1998) More on the email templates (1997) Options for http uploading of files (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] PayPal Integration (2017) Whats up with emailer? (1998) Long/Lat (2002) Ok here is a question? (1997) WebCat2b13MacPlugIn - [include] (1997) problems with 2 tags (1997) authorize.net hex coded variables (2002)