Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ihu1m.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!ihu1m!jho From: jho@ihu1m.UUCP (Yosi Hoshen) Newsgroups: net.micro.pc Subject: Random number generator for Turbo pascal Message-ID: <662@ihu1m.UUCP> Date: Mon, 9-Sep-85 09:07:01 EDT Article-I.D.: ihu1m.662 Posted: Mon Sep 9 09:07:01 1985 Date-Received: Tue, 10-Sep-85 04:16:35 EDT Distribution: net Organization: AT&T Bell Laboratories Lines: 14 I have a question regarding the random number generator supplied with turbo pascal release 3.0. According to the manual if randomize is used then the seed of the generator is randomized, and that is correct. However, if randomize is not used, a new sequence of pseudo- random numbers is created every time the program is executed, implying that the initial seed to the sequence changes even if randomize is not called. The question is: Can the seed of the random number generator be initialized so that a unique sequence is obtained? Alternatively, does any one know of a good generator for turbo with such property? -- Yosi Hoshen, AT&T Bell Laboratories Naperville, Illinois, Mail: ihnp4!ihu1m!jho