About This File
Since the introduction of ObjCreateInterface, AutoIt is able to create native, real objects. However, this is quite difficult for non-experienced users. This UDF here enables a "classic" syntax for declaring classes and instantiating objects from them. Before you ask: No, it is not just another preprocessor that's "faking" OOP syntax - this is the real deal. While it assists users with a more familiar syntax, objects are created at runtime.
Care has been put into this UDF and it is in the authors interest to fix all bugs remaining and implement features as long as the result works in the Stable release of AutoIt.
- Define an unlimited number of classes.
- Classes can be defined in other includes of the script.
- Create unlimited instances of objects.
- Create arrays of objects.
- Mix and match different data types in arrays (one or more elements can be objects).
- Define custom constructors and destructors.
- Pass an unlimited number of arguments to the constructor (even to all objects in one array at the same time).
- Automatic garbage collection.
- Compatible with Object-enabled AutoIt keywords (With etc.), optional parentheses on parameterless functions.
- Fully AU3Check enabled.
- IntelliSense catches class-names for auto-completion.
- Automatically generates a compilable version of the script.
- Non-instantated classes get optimzed away.
What's New in Version 0.31