From jan@swi.psy.uva.nl Fri Mar  2 13:20:02 2001
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f22CK2Z10060;
	Fri, 2 Mar 2001 13:20:02 +0100 (MET)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id NAA05922;
	Fri, 2 Mar 2001 13:20:02 +0100
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: "Дмитрий С. Кузьмин" <dima@solvo.ru>, prolog@swi.psy.uva.nl
Subject: Re: [SWIPL] random/1
Date: Fri, 2 Mar 2001 13:18:29 +0100
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
References: <Pine.LNX.4.10.10103021313520.21419-100000@dual.solvo.ru>
In-Reply-To: <Pine.LNX.4.10.10103021313520.21419-100000@dual.solvo.ru>
MIME-Version: 1.0
Message-Id: <01030213200200.05844@gollem>
Content-Transfer-Encoding: 8bit

On Fri, 02 Mar 2001, Дмитрий С. Кузьмин wrote:

>random(+Int) 	Evaluates to a random integer i for which 0 =< i < Int. The

>May be random(+Int) generate i from 0=< i =< Int-1 ? 

What's the difference for an integer i in "i < X" or "i =< (X-1)"?

	--- Jan

