igorm Posted August 17, 2011 Share Posted August 17, 2011 (edited) Hi,I'm writing some paper about AutoIt and I need to know which programming paradigms AutoIt supports. Thanks in advance.Greetings. Edited August 17, 2011 by igorm Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
smartee Posted August 17, 2011 Share Posted August 17, 2011 Procedural programming and with AutoItObject by ProgAndy etc, object oriented programming. Link to comment Share on other sites More sharing options...
igorm Posted August 17, 2011 Author Share Posted August 17, 2011 Thanks. But can you explain AutoItObject by ProgAndy? Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
smartee Posted August 17, 2011 Share Posted August 17, 2011 You could've found it if you searched the forums, but here you go Link to comment Share on other sites More sharing options...
igorm Posted August 17, 2011 Author Share Posted August 17, 2011 Sorry and thanks for link. So just to be clear, without any additions, by default, AutoIt supports only Procedural programming? Thanks once again. Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
smartee Posted August 17, 2011 Share Posted August 17, 2011 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. Link to comment Share on other sites More sharing options...
igorm Posted August 17, 2011 Author Share Posted August 17, 2011 OK, thank you very much for your help. Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
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