Swoonkify Posted October 2, 2010 Posted October 2, 2010 I made a program, but it says you cannot have a func/endfunc inside of a if statement It's like this so far if _IsPressed ("{f1}") then Func _Start xxx xxx xxx EndFunc Endif Any help on how to call it without saying Func and Endfunc that would be great! Thanks -- Swoonkify
JohnOne Posted October 3, 2010 Posted October 3, 2010 Remove the func and endfunc AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
dwerf Posted October 3, 2010 Posted October 3, 2010 (edited) If _IsPressed ('{f1}') Then ;xxx ;xxx ;xxx EndIf If _IsPressed ('{f1}') Then _Start() EndIf Func _Start() ;xxx ;xxx ;xxx EndFunc Edited October 3, 2010 by dwerf
alien4u Posted April 11, 2016 Posted April 11, 2016 @coles Make a new Topic for your query do not post on Topics almost 6 years old. Regards Alien.
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