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
- Re: [DUG]: consistency of random number generator Alistair George
