Login  Register

Re: Macro function for random seed?

Posted by Rasband, Wayne (NIH/NIMH) [E] on Jan 21, 2010; 10:54pm
URL: http://imagej.273.s1.nabble.com/Copying-files-with-a-Macro-tp3689619p3689622.html

On Jan 21, 2010, at 6:48 AM, Norbert Vischer wrote:

> Hello all,
>
> does the macro language allow to reproduce a random series from a seed number?
>
> Obviously, random() does not accept any seed argument.
>
> best regards, Norbert

The random function in the v1.43o daily build accepts a seed argument (a whole number):

    random("seed", seed);

-wayne