• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Random Numbers fasters than the osax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random Numbers fasters than the osax


  • Subject: Re: Random Numbers fasters than the osax
  • From: "Elias." <email@hidden>
  • Date: Sun, 31 Mar 2002 20:13:35 +0000

On Friday, March 29, 2002, at 11:21 , Arthur J Knapp wrote:

rng's GetRand() --> 84458770 -- This is interesting, the last digit of
rng's GetRand() --> 200171 -- each of these is sequential, 0, 1, 2...

rng's GetRand() --> 58412542 -- Same thing here. OK, I screwed up. ;-)

I don't know what you need the numbers for but, in the best traditions of dodgy work-arounds, you could just:

return((RandomNumber / 10) as integer)

Elias.

"History is more or less bunk" - Henry Ford
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Random Numbers fasters than the osax (From: Arthur J Knapp <email@hidden>)

  • Prev by Date: Re: No error, No results....
  • Next by Date: Re: Re: Mount Volume woes
  • Previous by thread: Re: Random Numbers fasters than the osax
  • Next by thread: Re: Random Numbers fasters than the osax
  • Index(es):
    • Date
    • Thread