Delphi 4 also 379

> -----Original Message-----
> From: Alistair George [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 03, 1999 12:40 PM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  consistency of random number generator
> 
> Hi folks. If anyone has the time would they please advise what number the
> following code generates under Delphi 2 and Delphi 4 - they say the
> randomizer may not be consistent across various versions of Delphi. Its
> for
> a freeware registration proc.
> Thanks,
> Al+
> 
> randseed:=1000;
> showmessage(inttostr(random(1000))); //D3:=379
> 
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to