Is it possible to use global variables spanning modules?
Gary Willoughby
dev at kalekold.net
Fri Jun 21 09:09:19 PDT 2013
Yes i know it's horrible but is it possible to use global
variables spanning modules?
I need to capture a small amount of program data and deal with it
in termination signal handlers. The data will be captured from
various classes spread around different modules.
I'm thinking the easiest solution is a couple of global vars and
then i can access these in the signal handle after the various
objects update these values during runtime.
Thoughts?
More information about the Digitalmars-d-learn
mailing list