RE: [sv-ec] foreach iterates over unpacked arrays

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Jan 23 2006 - 01:12:36 PST
Dave,

Congratulations on your IEEE award.

Your statement was unclear: are queues allowed or not?

When are the index value sets evaluated? That is, if one or more of the
dimensions is dynamic, what happens if the array size changes in the
middle of the foreach loop execution?

In the statement, 

"Empty loop variables can be used to indicate no iteration over that
dimension of the array, and contiguous empty loop variables towards the
end can be omitted," 

the first part can be rephrased as 
"Loop variables may be omitted to indicate ..".

Shalom

________________________________________
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
Rich, Dave
Sent: Wednesday, January 18, 2006 2:19 AM
To: Arturo Salz; Steven Sharp; sv-ec@eda.org
Subject: RE: [sv-ec] foreach iterates over unpacked arrays

OK, then how about just removing the parenthetical clause (fixed-size,
dynamic, or associative)
which is in fact the different forms of an unpacked array, minus queues.
There is no reason this clause should be there.

Regarding index variables, an empty variable usually refers to the
contents of that variable. You can have unspecified index variables, or
empty index variable arguments. Any other ideas?

Dave
Received on Mon Jan 23 01:12:47 2006

This archive was generated by hypermail 2.1.8 : Mon Jan 23 2006 - 01:15:21 PST