In wiki the page http://gambasdoc.org/help/lang/rnd?show

i think in these parts is hard read.

* If no parameters is specified, returns a pseudo-random number in the
  interval [ 0 , 1 [.
  * If the one parameter is specified, returns a pseudo-random in the
    interval [ 0 , Min [.
  * If the two parameters are specified, returns a pseudo-random in the
    interval [ Min , Max [.

I think you mean:

* If no parameters is specified the defaults are Min=0, Max=1, returns a
pseudo-random number in the
  interval [ 0 , 1 ]. 
  * If the one parameter is specified it is Max value, returns a
    pseudo-random in the interval [ 0 , Max ].  
  * If the two parameters are specified they are Min, Max values,
    returns a pseudo-random in the interval [ Min , Max ].

Am i right?

As i see in example that i understand.

-- 
Regards,
Demosthenes Koptsis.


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to