[sv-bc] 10.4: unique case question

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Jan 12 2006 - 06:39:30 PST
1800 10.4 says,

"For an illegal unique case, an implementation shall be
required to issue a warning message, unless it can demonstrate a legal interleaving of evaluations and comparisons
so that no more than one case item matches the case expression. To implement this requirement, an
implementation can continue the evaluations and comparisons after the termination of the usual linear search
and even after the execution of the statement associated with the first matching case item."

Allowing execution of the statement associated with the first matching case item seems to me to be very problematic. This execution could itself change the values of the following case item expressions. It could also include time delays.

Shalom


Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6852
+972 54 721-1033
I don't represent Intel 
Received on Thu Jan 12 06:39:50 2006

This archive was generated by hypermail 2.1.8 : Thu Jan 12 2006 - 06:40:13 PST