snowman533 Posted April 12, 2009 Share Posted April 12, 2009 (edited) how exactly do i "call a function"? tried using search but none of the entries answered my question, and i am still a noob on this tried the help file, but that didnt answer my question either, there were no good examples to work off how would i go about calling this function? Func randomnumber() $LowerLimit = 1 $UpperLimit = 5500 $RandomNumber = Random($LowerLimit,$UpperLimit,1) MsgBox(0,"Random Number",$RandomNumber) EndFunc btw this is for a GUI button Edited April 12, 2009 by snowman533 Intermediate AutoIt/Autohotkey User Link to comment Share on other sites More sharing options...
Dampe Posted April 12, 2009 Share Posted April 12, 2009 ;Call the function randomnumber() Func randomnumber() $LowerLimit = 1 $UpperLimit = 5500 $RandomNumber = Random($LowerLimit,$UpperLimit,1) MsgBox(0,"Random Number",$RandomNumber) EndFunc Link to comment Share on other sites More sharing options...
snowman533 Posted April 12, 2009 Author Share Posted April 12, 2009 Thankyou solved Intermediate AutoIt/Autohotkey User Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now