Thread overview
Leading underscores
Apr 20, 2004
Matthew
Apr 20, 2004
Dave Sieber
Apr 20, 2004
Matthew
Apr 20, 2004
Dave Sieber
April 20, 2004
Are they reserved, as they are in C/C++?



April 20, 2004
"Matthew" <matthew.hat@stlsoft.dot.org> wrote:

> Are they reserved, as they are in C/C++?

According to http://www.digitalmars.com/d/lex.html, two leading underscores are used for reserved identifiers.

-- 
dave
April 20, 2004
Thanks Dave

[I'm notoriously bad at reading documentation ...]

"Dave Sieber" <dsieber@spamnot.sbcglobal.net> wrote in message news:Xns94D193B33F1E4dsiebersbc@63.105.9.61...
> "Matthew" <matthew.hat@stlsoft.dot.org> wrote:
>
> > Are they reserved, as they are in C/C++?
>
> According to http://www.digitalmars.com/d/lex.html, two leading
underscores
> are used for reserved identifiers.
>
> -- 
> dave


April 20, 2004
"Matthew" <matthew.hat@stlsoft.dot.org> wrote:

> Thanks Dave
> 
> [I'm notoriously bad at reading documentation ...]

LOL. So am I, but I ran across it by accident when writing the lexer for DCoder :-)

-- 
dave