genius257 Posted April 19 Posted April 19 (edited) Got bored today, while working on my au3unit project, and made this class-ish solution with functions, variables and maps. Maybe someone will use it 😜   Features: public class properties public static class properties public methods public static methods class Inheritance   Repository: https://github.com/genius257/au3-functional-class ZIP download: https://github.com/genius257/au3-functional-class/archive/8503c876f65cb0cf339a324d0483d588a63eb4df.zip Online example file: https://github.com/genius257/au3-functional-class/blob/8503c876f65cb0cf339a324d0483d588a63eb4df/example.au3  Enjoy 😀 Edited April 21 by genius257 Added feature list mLipok, ioa747 and junkew 3 To show your appreciation My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Â
ioa747 Posted April 20 Posted April 20 (edited) Thanks for the enlightenment. Spoiler However, I wanted to inform you. I get a warning: \src\class.au3"(24,38) : warning: $__Class_Classes: possibly used before declaration. I had to move the Global $__Class_Classes[] to the top of class.au3, below the #include-once  Edited April 24 by ioa747 genius257 1 I know that I know nothing
genius257 Posted April 20 Author Posted April 20 Hi @ioa747Â , thanks for the heads up I have updated the code with the change like you mentioned, to get rid of the warning. ioa747 1 To show your appreciation My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Â
BinaryBrother Posted Wednesday at 07:30 PM Posted Wednesday at 07:30 PM This is an awesome idea and quite creative. It almost favors C#. genius257 1 SIGNATURE_0X800007D NOT FOUND
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