[New-bugs-announce] [issue2293] Missing case / switch / evaluate
BODIN
report at bugs.python.org
Sat Mar 15 17:41:09 CET 2008
New submission from BODIN <didierbodin at neuf.fr>:
I am not the code :
if toto == 1:
...
elsif toto == 2:
...
elsif
In ADA for example :
case C is -- 4 Start a case
statement
when Red => Result := 1;
when Blue =>Result := 2;
when Black .. Brown => Result := 3;
when Orange | Indigo => Result := 4;
when others => Result := 5;required for unspecified cases.
end case;
Is it not better?
----------
components: Interpreter Core
messages: 63555
nosy: dbodin
severity: normal
status: open
title: Missing case / switch / evaluate
versions: 3rd party
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2293>
__________________________________
More information about the New-bugs-announce
mailing list