[PB 6.11 LTS] [Not a Bug] Can not access address of variable in module
Posted: Fri Jun 07, 2024 3:38 pm
When using a module prefix with the two double colons together with an @ the compiler throws an error.
The syntax seems to be valid to me.
Edit: solved below by fryquez, maybe document behaviour?
Within a more complex code and within a "with" statement I get a Macro Error and a space seems to be inserted between the two double colons.
The syntax seems to be valid to me.
Edit: solved below by fryquez, maybe document behaviour?
Code: Select all
DeclareModule M_module
Global g_var=20
EndDeclareModule
Module M_module
EndModule
Debug M_module::g_var
; Following line causes an error
Debug @M_module::g_var