RandomUniqNum()

Author: Laszlo, Invalid User Last Modified: 20050824


Generates a comma separated list of integers. It can be specified the minimum, the maximum and the count of numbers to get.

RandomUniqNum(Min,Max,N)

For the functions's parameters and return value, please see it's source code.

Remarks

Laszlo is the original author of this script. He posted this script with a detailed description firstly at
http://www.autohotkey.com/forum/viewtopic.php?t=3004

Later the Invalid User made a function from this script at
http://www.autohotkey.com/forum/viewtopic.php?t=5013
and Laszlo optimized it more.

For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?p=30664#30664

License

nonexistent

Example

; #Include RandomUniqNum.ahk
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

; Generate a comma separated list of 5 integers between 1 and 100.
MsgBox % RandomUniqNum(1, 100, 5)
Return