[fpc-devel] I get duplicate GUIDs under Linux

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jun 2 10:23:28 CEST 2008


On 02/06/2008, Marco van de Voort <marcov at stack.nl> wrote:
>
> Then the whole random system is linked in, even when not used.

I would have thought this is already linked in as part of the RTL.
Simply not initialized until the first Randomize() call.


>  Also when you would want to set a different randseed, you'd call it twice
>  (though I can't imagine that being such a problem nowadays)

Ok, valid point.  Even so, I still think many people use Randomize()
and Random() incorrectly which causes more harm (unexpected results)
compared to *maybe* having to set a different randseed and calling
randomize() twice.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list