[Gambas-user] Release of gambas 1.9.34

Benoit Minisini gambas at ...1...
Tue Jul 18 11:59:45 CEST 2006


On Monday 17 July 2006 23:12, Leonardo Miliani wrote:
> Benoit Minisini ha scritto:
> > * NEW: Randomize now takes an optional parameter to initialize the seed.
>
> I've tried it, but I cannot get working...
> If, for example, I write
>
> randomize(2)
> for i=1 to 3
> a[i]=rnd
> next
>
> then I only have a sequence of zeroes..
> If I just write:
>
> randomize
>
> it works as always.

I should have tested it before! Here is a patch...

-- 
Benoit Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbx_math.c
Type: text/x-csrc
Size: 3633 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060718/9095621d/attachment.c>


More information about the User mailing list