Docs: Section on local variables
Jonathan M Davis
jmdavisProg at gmx.com
Sat Apr 21 15:14:45 PDT 2012
On Saturday, April 21, 2012 07:49:47 H. S. Teoh wrote:
> Hold on a second here, I thought the original complaint was that
> *unused* local variables should generate a warning? What has that got to
> do with .init?
Reread the original post. It was two things.
1. It's an error to use a local variable without first assigning it a value.
2. It's an error to have a local variable which is never referred to.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list