Jump to content
Sign in to follow this  
kcd-clan

Function Call(sleep(500))

Recommended Posts

Thatsgreat2345

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

Share this post


Link to post
Share on other sites
viking

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( )

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
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
Sign in to follow this  

×