Eugene,
I brought up this issue a while ago. I believe that it's good to
disallow the example code you give below. See:
http://www.eda.org/vlog-pp/sv-bc/hm/1486.html
One argument against your code fragment below is that its behavior
depends on whether there is a variable 'done' declared outside the
loop.
Paul
> The following for_initialization definition does not allow to have
> mixture of regular variable assignemt and variable assignment with
> data_type. Thus, the last example code in 8.5.2 won't compile.
>
>
> for( int count = 0, done = 0, int j = 0 ; j * count < 125 ; j++ )
Received on Tue Aug 31 06:57:33 2004
This archive was generated by hypermail 2.1.8 : Tue Aug 31 2004 - 06:57:52 PDT