Re: Random Numbers fasters than the osax
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.