CrGlobal: IntegerRandomWithinRange

IntegerRandomWithinRange

generate a random signed 4-byte integer within a specified range

 Public Function IntegerRandomWithinRange(
	  ByVal RangeLower As Long,
	  ByVal RangeUpper As Long ) As Long

Parameters

RangeLower
[ByVal] Long. minimum value of generated value
RangeUpper
[ByVal] Long. maximum value of generated value

Return Values

Long -  random value

Remarks

See Also

Project crgenlib Overview Class CrGlobal Overview CrGlobal Properties CrGlobal Methods FunctionCallByAddress POSIX_sprintf