https://bugs.documentfoundation.org/show_bug.cgi?id=84675

Johnny_M <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |90110
            Summary|Add missing BASIC functions |Add missing BASIC function
                   |and constants documentation |and constant documentation
           Severity|minor                       |major

--- Comment #2 from Johnny_M <[email protected]> ---
Also needed: Update of description of the Randomize statement according to
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0e5aa443f8f603be6e5ad4ddcec12e5b6fbdff8a&h=libreoffice-4-4

I.e.:

Using Randomize without an argument has no effect - in this case the
random-number generator will be initialized using system time (in seconds since
midnight) at its first use. If wishing to initialize (i.e. seed) the generator
using system time at any other point of time, use:

Sub ExampleRandomize
Dim lSeconds As Long
   lSeconds = Timer
   Randomize lSeconds
End Sub

Randomize affects only the Rnd function of BASIC. It has no effect on
random-number generators used by other parts of LibreOffice, such as, e.g., the
statistics and RAND() functions of Calc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to