uniform()

Simen kjaeraas simen.kjaras at gmail.com
Thu Jan 6 06:03:29 PST 2011


Jun <blings at naver.com> wrote:

> Does anyone knows how can I set the boundary of uniform()?
>
> I got an error with "uniform("[]", 0, 10);"

The documentation seems a bit weird on uniform, yes.
The correct way is:
uniform!"[]"( 0, 10 )

-- 
Simen


More information about the Digitalmars-d-learn mailing list