From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,62266d96f70abe13,start X-Google-Attributes: gid103376,public From: "the AJE" Subject: How do you randomise integers? Date: 1997/05/16 Message-ID: <01bc6221$5c8b3100$1a8602cb@whippet>#1/1 X-Deja-AN: 242442910 Organization: iiNet Technologies (SA) Pty Ltd Newsgroups: comp.lang.ada Date: 1997-05-16T00:00:00+00:00 List-Id: I have only just begun learning ADA, but I can't find a book with decent examples on randomising numbers. I could try using C++, but I much prefer ADA. The biggest problem is finding something to connect the randomizer to the timer so that a different seed is used everytime the programme is run. I would appreciate some examples using dice-rolls etc. because I can't decipher syntaxes very well. Thanks in advanced. Andrew.