Is it possible to access to the global MAP created in the main code ?
Code: Select all
Global NewMap MyMap()
DeclareModule Module1
Declare.s Function(Text.s)
EndDeclareModule
Module Module1
Procedure.s Function(Text.s)
ProcedureReturn Text
EndProcedure
MyMap("Module1") = @Function() ; <==== Can't access to the global MAP
EndModule
Debug Module1::Function("Hello")
Repeat : Delay(1) :Until GetAsyncKeyState_(#VK_ESCAPE)


