Rand()

Author: `{VxE`} Last Modified: 20100219


A wrapper to Ahks internal Random command.

Rand( a=0.0, b=1 )

For more details of the functions's parameters and return value, please see it's source code or the document.

Remarks

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

License

The functions is an open source item under the Public Domain license. For details, please see [VxE]-license.txt

Example

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

; Random integer between 50 and 100 (typical use)
MsgBox % "Rand: " . Rand(50, 100)