kcd-clan Posted April 22, 2006 Posted April 22, 2006 How can i get this to work? It will run functions that dont need a value but not any that need a value Call(sleep(500)) Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
Thatsgreat2345 Posted April 22, 2006 Posted April 22, 2006 (edited) HUH? wtf r u trying to do call("func1") func func1() sleep(500) EndFunc and u dont need a call to call a function u can just type the func name func1() func func1() sleep(500) endfunc Edited April 22, 2006 by thatsgreat2345
viking Posted April 22, 2006 Posted April 22, 2006 This is what he means Func Test($Value) MsgBox(0, "", $Value) EndFunc Now, he cant call this function with Call(Test(Value)) ---- Just do Test(500), you don't need Call( )
Moderators SmOke_N Posted April 22, 2006 Moderators Posted April 22, 2006 This is what he means Func Test($Value) MsgBox(0, "", $Value) EndFunc Now, he cant call this function with Call(Test(Value)) ---- Just do Test(500), you don't need Call( ) Actually you can use Call() with parameters: He's just trying to call a predetermined function within a function call which is incorrect. Call('_CallParameterTest', 'See?') Func _CallParameterTest($parameter) MsgBox(0, 'Test', $parameter) EndFunc Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
kcd-clan Posted April 23, 2006 Author Posted April 23, 2006 ty yaya this is so cool Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
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