Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
October 06, 2007 Re: Question | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bine Pucnik | Bine Pucnik wrote:
> What is NoScopeNonEmptyStatement ?
Either a NonEmptyStatement or a BlockStatment, it seems. =)
What do you mean by your question?
Regards, Frank
|
October 06, 2007 Re: Question | ||||
---|---|---|---|---|
| ||||
Posted in reply to 0ffh | 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
|
October 06, 2007 Re: Question | ||||
---|---|---|---|---|
| ||||
Posted in reply to 0ffh | 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
|
October 06, 2007 Re: Answer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bine Pucnik | Bine Pucnik schrieb: > What is NoScopeNonEmptyStatement ? They are defined in the top of the page. http://www.digitalmars.com/d/statement.html |
October 13, 2007 Re: Question | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bine Pucnik | "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. |
October 14, 2007 Re: Question | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | 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.
>
I see ! Thanks for the answer !
Bine
|
Copyright © 1999-2021 by the D Language Foundation