Any way to define variables from one scope in another scope?
Ruby The Roobster
rubytheroobster at yandex.com
Mon Jun 20 13:56:04 UTC 2022
Is there any way to define variables in an outer scope from an inner
scope? I was thinking
```d
void main()
{
int .y = 3;
}
```
would work, but it doesn't.
More information about the Digitalmars-d-learn
mailing list