RE: [sv-bc] Constant method calls

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Feb 11 2008 - 11:45:53 PST
Greg,

> The special case of 
> Next() for an out-of-range enum value is also not clear - is 
> the answer the same as .First() for /all/ values of N, or 
> only for N=1 (the default)?

The LRM says,
"If the given value is not a member of the enumeration, the next()
method returns the
default initial value for the enumeration."

You seem to assume that the 'default initial value for the enumeration'
means .first().

I don't think that is necessarily so. I think it refers to Table 6-1.
Otherwise, it would have said, "the first member of the enumeration".
That default initial value is not necessarily a member of the
enumeration.

Your question is still valid though.

Regards,
Shalom
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Feb 11 13:17:53 2008

This archive was generated by hypermail 2.1.8 : Mon Feb 11 2008 - 13:18:43 PST