X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 4 Sep 2007 15:48:27 -0400 Message-Id: <200709041948.l84JmRfh001331@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <13drciokqdoav65@corp.supernews.com> (message from Bill on Tue, 04 Sep 2007 15:30:36 -0400) Subject: Re: random() : What am I doing wrong? References: <13drciokqdoav65 AT corp DOT supernews DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > What about if I want to generate numbers in the range of 1 through 50? > How do I specify my range? Take the result and "% 50".