Jump to content
Blueing

Func Name() and Func _Name()

Recommended Posts

Blueing

Hey,

im doing autoit now for 1 month and came across alot of functions; some predefined functions, and some made by users and often I stumble across functions which are declared like Func _Example() - whats the point from the _? so wheres the differnce between Func Bla() and Func _Bla()?

Im just curious and hope someone can tell me,

thanks!

Share this post


Link to post
Share on other sites
Andreik

Usually an underscore in front of the function name means it's a user defined function not a native function, but it's just a convention. You can find user defined function without underscore prefix. Anyway it has nothing to do with the functionality, whatever your function is name it runs in the same way.

  • Like 1

When the words fail... music speaks

Share this post


Link to post
Share on other sites
Blueing

Thank u guys!

Conventions are must have in programming languages, nice to know now and I will use it like this further on, thanks again :)

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

×