Jump to content
Sign in to follow this  
igorm

Supported paradigm in AutoIt?

Recommended Posts

smartee

Procedural programming and with AutoItObject by ProgAndy etc, object oriented programming.

Share this post


Link to post
Share on other sites
smartee

You could've found it if you searched the forums, but here you go :mellow:

Share this post


Link to post
Share on other sites
igorm

Sorry and thanks for link. So just to be clear, without any additions, by default, AutoIt supports only Procedural programming? Thanks once again.

Share this post


Link to post
Share on other sites
smartee

A definitive answer depends on the scope of your article.

While in the strictest sense program flow seems procedural, as this is abstracted into the language's functions, certain elements borrow from other paradigms, such as when dealing with GUIs, there is an option Opt("GUIOnEventMode", 1) that looks an awful lot like event-based programming as does OnAutoItExitRegister(), HotKeySet() and AdlibRegister(). These functions modify the actual control flow, performing interrupts we do not 'see', so declarative programming seems to suit the bill too!

Additionally, some functions like InetGet() allow tasks to be performed asynchronously, demonstrating concurrent programming on some level and you have already seen with AutoItObject, that the language fits even OOP!

I'll stop here, as I'm sure by now you can see your answer depends on the specificity of your article, which is in turn up to you, so have a look at some of the functions, and at some of what has been achieved in the example scripts section and you decide.

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  

×