I'm trying to declare a global variable from within a class like so:
class myclass: global myvar = 'something'
I need it to be accessed outside the class, but I don't want to have to declare it outside the class file. My question is, is this possible? If so, what is the syntax?