Code: Select all
DeclareModule myModule
EndDeclareModule
Module myModule
Define myVar = 123
EndModule
Debug myModule::myVar ; == 0 ?
The output can't be be zero since the code is not valid.However, you'd notice that the resulting output is still zero. Why is this?
myVar is local to the module and it's not accessible from the external debug statement.
Less important, but I would add a .f to
Code: Select all
Global myVersionNumber = 1.23