[Gambas-user] Global vars

Steven Lobbezoo steven at ...1652...
Thu Apr 5 23:14:22 CEST 2007


Hi,

If I do 
          message.Info(Mglobal.U_AgenNom)
in a form module
where U_AgentNom
is defined in the module Mglobal as :
PUBLIC U_AgenNom AS String

Then I execute thye program with a stop in the statement after the message 
statement  the following happens :

The message is displayed correctly, it says "Agence central" <- is in the var
but after the stop, i try to look in the variable, it is empty (an empty 
string), and so are all the other vars how are defined in Mglobal !

Is that an error ?

Steven




More information about the User mailing list