On 29-Dec-03 steve-ss wrote:
Could you please advise on the g77 fortran equivalent of the routine call gettim(ihr,imin,isec,ihth) particularly to obtain ihth. Or just anything in 9.0 that will generate a random number. Thanks and happy new year
It depends on what you want the random numbers for. If you need something "quick and dirty" random for some system purpose, a simple resource is /dev/random which builds up a "noise bank" based on keyboard, mouse etc. activity. Try cat /dev/random > randombytes (you may need to halt it with ^C) and have a look at it with od -x randombytes | less and you will see what I mean. Best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 167 1972 Date: 29-Dec-03 Time: 09:07:07 ------------------------------ XFMail ------------------------------