[Gambas-user] Use public variable from one module to other?
Rob Kudla
sourceforge-raindog2 at ...94...
Sat Apr 14 07:04:48 CEST 2012
On 04/14/2012 12:33 AM, sundar j wrote:
> getting public variable from one module to other module. Right now what
> i do is that create temp file and write dynamic variable in to it so
> that it is accessible to all modules. Is there any way that i can use
> variable directly instead of creating temp files?
Create a module called something like "PublicVar", put all your public
variables in it, and refer to them as PublicVar.VariableName everywhere?
That's gotta be easier than writing files to disk.
Rob
More information about the User
mailing list