[Gambas-user] Global vars

Benoit Minisini gambas at ...1...
Sun Apr 8 09:34:16 CEST 2007


On jeudi 5 avril 2007, Steven Lobbezoo wrote:
> 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
>

Which version of gambas do you use?

-- 
Benoit Minisini




More information about the User mailing list