[Solved] Module ReferenceError
Posted: Fri Apr 07, 2017 10:12 pm
I code a module that communicates with a JavaScript code. I think the module's declaration is good.
I have located the error in my code and tried to reproduce it with this code snippet. (Console on)In my opinion, it looks like a bug or .... (And NO ! This is not a bug)
Thanks for your help.
I have located the error in my code and tried to reproduce it with this code snippet. (Console on)
Code: Select all
EnableExplicit
DeclareModule fake
Global foo.i = 100
Declare Dummy()
EndDeclareModule
Module fake
Procedure Dummy()
! v_foo ++
! console.log(v_foo);
EndProcedure
EndModule
UseModule fake
fake::Dummy()
Thanks for your help.