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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5291fa0ea59b8b29 X-Google-Attributes: gid103376,public From: Dale Stanbrough Subject: Re: Random Number Generation Date: 1996/09/26 Message-ID: <52ci53$h4f@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 185369733 distribution: world references: <32493D59.41C6@velveeta.apdev.cs.mci.com> content-type: text/plain; charset=ISO-8859-1 x-xxmessage-id: organization: RMIT, Melbourne, Australia mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-09-26T00:00:00+00:00 List-Id: James_Rogers writes: ------------------------------------------------------------ -- Flexible generic example ------------------------------------------------------------- with Ada.Numerics.Discrete_Random; with Ada.Text_IO; use Ada.Text_IO; procedure example is package int_io is new integer_io(integer); Just a note - it's probably better to with the preinstantiated version of integer_io... with Ada.Integer_Text_IO; in any examples - it certainly reduces the clutter of a program example if you do. Dale