• 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: Arthur J Knapp <email@hidden>
  • Date: Mon, 01 Apr 2002 19:16:52 -0500

> Subject: Re: Random Numbers fasters than the osax
> From: email@hidden (Michael Sullivan)
> Date: Mon, 1 Apr 2002 16:42:30 -0500

> After reading the thread, I did my own search and found this website:
>
> <http://www-unix.mcs.anl.gov/dbpp/text/node117.html#SECTION0421000000000
> 0000000>

This is a very nice link. :)

> Anyway, here's the script I ended up writing which needs a little work
> on the interface before I web it, but should do the trick if anyone else
> is interested:

> randomizeGenerator()

> script psRand
> property kBigPrime : 2.147483647E+9
> property kA : 524287
> property kLast : missing value
>
> on randomizeGenerator()
> set psRand's kLast to the ticks

This is a cool script object. :)



{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
<mailto:email@hidden>
try
<http://homepage.mac.com/ewalet/DeskTop.html>
on error number -128
end try
}
_______________________________________________
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.

  • Follow-Ups:
    • Re: Random Numbers fasters than the osax
      • From: Timothy Bates <email@hidden>
  • Prev by Date: Re: batch inport to FMP
  • Next by Date: Re: Random Numbers fasters than the osax
  • Previous by thread: Re: Random Numbers fasters than the osax
  • Next by thread: Re: Random Numbers fasters than the osax
  • Index(es):
    • Date
    • Thread