[Gambas-user] Randomize

Leonardo Miliani leonardo at ...1237...
Fri Jul 14 17:24:17 CEST 2006


P. Mountstevens ha scritto:
> Easy:
> 
> 
> a=12 '(where 12 is the number you wish to seed from)
> 
> for b= 1 to a
> c=rnd
> next
> 
> mynumber=rnd

It doesn't work on Gambas 1.9.33.
Every cycle I get different numbers.

-- 
Ciao.
Leo

Visita il mio sito personale: www.leonardomiliani.com
e-mail: leonardo at ...1237...




More information about the User mailing list