www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/17/12:58:29

Date: Thu, 17 Aug 2000 20:00:58 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <7704-Thu17Aug2000200057+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
In-reply-to: <8ngtjq$cn1$1@news.clinet.fi> (dots@hotmail.comPOF)
Subject: Re: Random numbers
References: <8ngtjq$cn1$1 AT news DOT clinet DOT fi>
Reply-To: djgpp AT delorie 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

> From: "Dotso" <dots AT hotmail DOT comPOF>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 17 Aug 2000 17:49:13 +0300
> 
> How can i make a function
> that gives a random number in different ranges?
> Eg. Rand(Min,Max)
> would give a random number between Min and Max.

See section 22.23 in the DJGPP FAQ list, it explains this.

- Raw text -


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