[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A question on the definition of a chunk
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 27 Jun 2012 17:09:56 -0300
> OK. Reduction is not symmetric :). So, for checking that I have
> it right, am I correct in saying that a local variable's scope
> consists of the statements or blocks that follow its declaration
> that also lie within the smallest block that contains its
> declaration?
That is not too different from the manual:
The scope of a local variable begins at the first statement after
its declaration and lasts until the last non-void statement
of the innermost block that includes the declaration.
-- Roberto
- References:
- A question on the definition of a chunk, Alexander R.
- Re: A question on the definition of a chunk, TNHarris
- Re: A question on the definition of a chunk, Gavin Wraith
- Re: A question on the definition of a chunk, Dirk Laurie
- Re: A question on the definition of a chunk, Gavin Wraith
- Re: A question on the definition of a chunk, liam mail
- Re: A question on the definition of a chunk, Roberto Ierusalimschy
- Re: A question on the definition of a chunk, Gavin Wraith
- Re: A question on the definition of a chunk, Roberto Ierusalimschy
- Re: A question on the definition of a chunk, Gavin Wraith