Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted

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

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
  • Recently Browsing   0 members

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