Search the Community
Showing results for tags 'modularity'.
-
Plys (/ˈplaɪz/) represents the inconspicuous wrapper which complements the AutoIt language with preprocessor keyword #import "filename" loads only public functions and variables Python-like code blocks by lines indentation (without endfunc, wend etc.) dim and const outside of functions means global and global const respectively, inside of functions means local and local const arguments of function are const by default, but with dim prefix it becomes variable short synonyms for functions as a rule using in large projects: for arrays, files and strings no “$”
- 6 replies
-
- lambda
- modularity
-
(and 2 more)
Tagged with:
-
As I understand it: there is no distinction, when a variable is declared outside any function, between declaring it Global and declaring it Local. This is unfortunate when: a project has several dialogs: declaration of control variables can conflict. a project has one complex dialog In the latter case, I have one here with a dialog function that is 269 lines! I could declare all the control variables as Global, but globals should be aoided where possible. I think good practice would be to put each dialog in its own file (unless it is a really simple one). Life would be easier if there