On Friday, August 20, 2010 18:05:16 Andrej Mitrovic wrote: > There are no global variables in D, afaik. But I haven't studied this > closely yet. > > On Sat, Aug 21, 2010 at 2:21 AM, Adam Ruppe <[email protected]> wrote: > > Last message in a row, I promise. > > > > I just determined a work around for this - use a global variable.
A public variable in a module is effectively a global variable. The same goes for a public static variable in a public class or public struct. They're scoped by the module/class/struct that they're in, but you can access them from anywhere. - Jonathan M Davis
