RandomNum Function

Nilesh Ghodekar edited this page Apr 12, 2018 · 7 revisions

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)

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.