Looking for some random-functions ... and maybe a bug report_(re)

Tue, 23 Sep 1997 15:20:18 +0200



Christian Bockermann wrote:

> Hello !
> 
> After I inserted the random-functions, which I got through this list, I
> wanted to use the Rand-Unit by Frank Heckenbach. But I get some error-
> messages when compiling this unit :
> 
> [...]
> 
> What exactly does this 'Cardinal'-expression mean ? 
 
Cardinal is an unsigned integer. It was introduced after 2.0, sometime
around June, IIRC. With 2.0, you might be able to use "__unsigned__" or
such a beast, but OTOH the random unit relies on the exact sizes
(16, 32 and 64 bits) of some types, and AFAIR there was no way to
specify those in 2.0 (you could use long, short and such, but that
woudln't be portable).

Su I suggest you to upgrade to a newer version (maybe wait for the
next beta, or even for 2.1 which hopefully won't take too long now
to complete). Sorry that you can't use it now, but these are
temporary problems...

Frank

-- 
Frank Heckenbach, Erlangen, Germany
heckenb@mi.uni-erlangen.de
http://home.pages.de/~fjf/links.htm


Frank Heckenbach (heckenb@mi.uni-erlangen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es