[Gambas-user] how to avoid second instance in hole project

Tobias Boege taboege at gmail.com
Tue Nov 28 17:59:05 CET 2017


On Tue, 28 Nov 2017, PICCORO McKAY Lenz wrote:
> i have a class that loads a file, and use it
> 
> how to reuse the alredy instanciated class in the others class or modules
> if gambas3 does not implements global vars?
> 

Use a module. It's the closest you can get to a global variable in Gambas.

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list