delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/09/04/15:48:48

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 <dj AT delorie DOT com>
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: <N1GBi.41236$S91 DOT 9560 AT newsfe7-win DOT ntli DOT net> <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

> 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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019