home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OL.LZH / PROCS.LZH / IRANDOM.ICN < prev    next >
Text File  |  1991-07-13  |  466b  |  20 lines

  1. ############################################################################
  2. #
  3. #    Name:    irandom
  4. #
  5. #    Title:    Randomize the random number generator
  6. #
  7. #    Author:    Robert J. Alexander
  8. #
  9. #    Date:    September 7, 1990
  10. #
  11. ############################################################################
  12. #
  13. #  irandom() -- Procedure to set &random to a "random" value, based
  14. #  on the time of day.
  15. #
  16.  
  17. procedure irandom()
  18.    return .(&random := map(&clock,":","0"))
  19. end
  20.