HelgeffegleH

Results 15 comments of HelgeffegleH

You shouldn't have to pass the struct ptr/size, it should suffice if the _struct object_ has ptr/size properties. (I didn't look at your code, just your _documentation_.) It might be...

I've done some misc. work on this since the PR (__Edit:__ files in the first comment updated). I have split parts of the implementation into several files, more about this...

> I assume that is invalid because MyModule is a namespace, not a variable or an object. Correct. > If a namespace is also an IObject, I suppose that there...

I removed `SYM_MODULE` as you suggested, modules are now objects. You can now do `x := myModule, x.fn()` etc. In addition to your points, this have the benefit of allowing...

I added the missing file 🤦. Cheers.

>I assume `#UseVar` applies to classes; what about nested namespaces? You can do ```autohotkey #UseVar myClass in myMod.myNestedMod class x extends myClass { } ; alt class y extends myMod.myNestedMod.myClass...

@Lexikos, would it be a problem if I pulled the latest alpha code? I could rebase my changes to occur after the new code (not like I did for #142...

I tested to pull and rebase in a separate branch, this is the result ➡️ [sm_rb](https://github.com/HelgeffegleH/AutoHotkey_L/tree/sm_rb). Note the last commit to resolve some issues introduced by the rebase. It compiles...

@Lexikos, thank you for your guidance. I think I can fix most issues you have brought up. I'll consider your comments and return with a more specific response later if...

@kczx3, note ➡️ [**Changing macro SMODULES_INCLUDE_DIRECTIVE_FILE_MODULE_SEP to _T("as")**](https://github.com/Lexikos/AutoHotkey_L/pull/162/commits/1263d92d87ebfcced2bf5dd5d7277e78cf9f4abb) It is now `#Import file.ahk as myModule` . Also, with your code, it should be ```autothotkey #import myModule.ahk as x msgbox(x.myModule.myGlobal) ```...