Jump to content

[solved] how to call a function


Recommended Posts

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 by snowman533

Intermediate AutoIt/Autohotkey User

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...