digitalmars.D.learn - Question
- Bine Pucnik <albin.pucnik guest.arnes.si> Oct 06 2007
- 0ffh <spam frankhirsch.net> Oct 06 2007
- Bine Pucnik <albin.pucnik guest.arnes.si> Oct 06 2007
- Bine Pucnik <albin.pucnik guest.arnes.si> Oct 06 2007
- Frank Benoit <keinfarbton googlemail.com> Oct 06 2007
- "Stewart Gordon" <smjg_1998 yahoo.com> Oct 13 2007
- Bine Pucnik <albin.pucnik guest.arnes.si> Oct 14 2007
Bine Pucnik wrote:What is NoScopeNonEmptyStatement ?
Either a NonEmptyStatement or a BlockStatment, it seems. =) What do you mean by your question? Regards, Frank
Oct 06 2007
0ffh Wrote:Bine Pucnik wrote:What is NoScopeNonEmptyStatement ?
Either a NonEmptyStatement or a BlockStatment, it seems. =) What do you mean by your question? Regards, Frank
Well, I was reading D language specifications for statements, and it says that : ForStatement: for (Initialize Test; Increment) ScopeStatement Initialize: ; NoScopeNonEmptyStatement . . . I don't know, what kind which statements are NoScopeNonEmptyStatement. Regards,Bine
Oct 06 2007
0ffh Wrote:Bine Pucnik wrote:What is NoScopeNonEmptyStatement ?
Either a NonEmptyStatement or a BlockStatment, it seems. =) What do you mean by your question? Regards, Frank
Well, I was reading D language specifications for statements, and it says that : ForStatement: for (Initialize Test; Increment) ScopeStatement Initialize: ; NoScopeNonEmptyStatement . . . I don't know, what kind which statements are NoScopeNonEmptyStatement. Regards,Bine
Oct 06 2007
Bine Pucnik schrieb:What is NoScopeNonEmptyStatement ?
They are defined in the top of the page. http://www.digitalmars.com/d/statement.html
Oct 06 2007
"Bine Pucnik" <albin.pucnik guest.arnes.si> wrote in message news:fe83oj$i1v$1 digitalmars.com...What is NoScopeNonEmptyStatement ?
Basically, a non-empty statement that doesn't introduce a new scope even if { ... } is used. They are used mainly in conditional compilation statements (debug, version and static if). The point is to enable conditional compilation to work on declarations. Stewart. -- My e-mail address is valid but not my primary mailbox. Please keep replies on the 'group where everybody may benefit.
Oct 13 2007
Stewart Gordon Wrote:"Bine Pucnik" <albin.pucnik guest.arnes.si> wrote in message news:fe83oj$i1v$1 digitalmars.com...What is NoScopeNonEmptyStatement ?
Basically, a non-empty statement that doesn't introduce a new scope even if { ... } is used. They are used mainly in conditional compilation statements (debug, version and static if). The point is to enable conditional compilation to work on declarations. Stewart. -- My e-mail address is valid but not my primary mailbox. Please keep replies on the 'group where everybody may benefit.
Bine
Oct 14 2007









Bine Pucnik <albin.pucnik guest.arnes.si> 