I take it the output looks something like this: struct S { int a; }
S s; s.a = 3; void main() { }Hope this clears up this next problem. Module scope doesn't get to utilize a variable, it can only initialize at compile-time.
Jesse Phillips via Digitalmars-d-learn Wed, 04 Jun 2014 08:51:13 -0700
I take it the output looks something like this: struct S { int a; }
S s; s.a = 3; void main() { }Hope this clears up this next problem. Module scope doesn't get to utilize a variable, it can only initialize at compile-time.