Proposal of a general do-while loop
Taro Kawagishi
tarok at acm.org
Wed Jul 18 03:08:26 PDT 2007
Joe Gottman Wrote:
> This looks very nice. Does this mean that the entire construct is
> one scope, so that a variable declared in the aa section is accessible
> in the bb and cc sections and a variable declared in the bb section is
> accessible in the cc section?
>
> Joe Gottman
Thank you for your comment.
Having one scope for the entire construct can be useful, but I think it has to have three separate scopes to be consistent with block rule.
Now I realized this could be the biggest inconvenience with this form.
-Taro
More information about the Digitalmars-d
mailing list