Can I use mixin/namespace guards like header guards in c++. #3697
Unanswered
wusikijeronii
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I am less beginner and I want something as in the pseudocode below:
I use a widget-based component system and this way is most comfortable for me. But it isn't a necessary thing. I just wanna know - can I do it. It works if I use true/false defined variables before
#window
namespace ('cos if I define a variable in the namespace root each one when I call mixins I will null variables). I also tried to create a separate namespace for defines but when I use.... when (#somenamespace[@variable])
I get an error.Beta Was this translation helpful? Give feedback.
All reactions