Re: [sv-bc] Ambiguous declaration / initialization in for-loop

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Fri Oct 28 2005 - 12:10:33 PDT
It's not an answer to your main question, but that final example is a
syntax error, because the for_step cannot be ommitted.  See Syntax 10-5.

>Specifically, is the following legal:
>
>for (int count = 0; count < 100; ) begin
>   ...
>   count++;
>end

-- Brad
Received on Fri Oct 28 12:10:36 2005

This archive was generated by hypermail 2.1.8 : Fri Oct 28 2005 - 12:10:43 PDT