igorm 0 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 Share this post Link to post Share on other sites
smartee 14 Posted August 17, 2011 Procedural programming and with AutoItObject by ProgAndy etc, object oriented programming. Share this post Link to post Share on other sites
igorm 0 Posted August 17, 2011 Thanks. But can you explain AutoItObject by ProgAndy? Office 2000/XP/2003/2007 Slipstreamer Share this post Link to post Share on other sites
smartee 14 Posted August 17, 2011 You could've found it if you searched the forums, but here you go Share this post Link to post Share on other sites
igorm 0 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 Share this post Link to post Share on other sites
smartee 14 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. Share this post Link to post Share on other sites
igorm 0 Posted August 17, 2011 OK, thank you very much for your help. Office 2000/XP/2003/2007 Slipstreamer Share this post Link to post Share on other sites