MGL_random

Generate a random 16-bit number between 0 and max.

Declaration

ushort MGLAPI MGL_random(
    ushort max)

Prototype In

mgraph.h

Parameters

max

Largest desired value

 

Return Value

Random 16-bit number between 0 and max.

See Also

MGL_randoml, MGL_srand

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com