20-05-2015
|
|
Miembro Premium
|
|
Registrado: feb 2007
Ubicación: Caracas, Venezuela
Posts: 2.206
Reputación: 21
|
|
bulc,
Cita:
Empezado por bulc
...Me gustaría saber si la clausula Randomize se debe poner en el evento OnCreate o en el procedimiento mismo...
|
Cita:
Empezado por RAD Studio VCL Reference
Randomize initializes the built-in random number generator with a random value (obtained from the system clock). The random number generator should be initialized by making a call to Randomize, or by assigning a value to RandSeed.
Do not combine the call to Randomize in a loop with calls to the Random function. Typically, Randomize is called only once, before all calls to Random
|
Revisa esta información:
Espero sea útil
Nelson.
Última edición por nlsgarcia fecha: 21-05-2015 a las 02:22:17.
|