RandomNum Function - microsoft/MIMWAL GitHub Wiki

Syntax

int RandomNum(start:int, end:int)

Description

Returns a random number within the specified interval. The random number returned is greater than or equal to start and less than end. This behaviour is same as the .Net Random.Next() method, but not same as the FIM RandomNum function which can return the end number.

Remarks

If any input parameter is null, an exception is thrown.

Supported Version

1.0.0.0 and later

Examples

RandomNum(300,400)