Sage Modeling and Simulation Library

IRandomChannel..::..Next Method (Int32)

Produces the next pseudo random integer. Ranges from int.MinValue to the argument maxValue.

Namespace:  Highpoint.Sage.Randoms
Assembly:  Sage4 (in Sage4.dll)

Syntax


int Next(
	int maxValue
)

Parameters

maxValue
Type: Int32
The maximum value served by the PRNG, exclusive.

Return Value

The next pseudo random integer in the range [minValue,maxValue).