[sv-ec] Can foreach iterate over a queue? If not, 12.7.3 would be more user-friendly if it mentioned this restriction

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Fri Aug 31 2007 - 16:44:05 PDT
According to 7.11,

      "A queue is analogous to a one-dimensional unpacked array that
grows and shrinks automatically.  Thus, like arrays, queues can be
manipulated using the indexing, concatenation, slicing operator syntax,
and equality operators."

There is no mention of queues in 12.7.3 regarding "The foreach loop",
and there is no mention of 'foreach' in 7.11, so I'm assuming that
'foreach' is one place where this analogy breaks down.

12.7.3 would be more user-friendly if it mentioned this restriction.  

-- Brad








   

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Aug 31 16:44:31 2007

This archive was generated by hypermail 2.1.8 : Fri Aug 31 2007 - 16:44:59 PDT