if the else short form

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Oct 9 04:55:05 EDT 2010


In message <i8o1ij$rom$1 at news.eternal-september.org>, BartC wrote:

> "NevilleDNZ" <nevillednz at gmail.com> wrote in message
> news:ad9841df-49a1-4c1b-95d0-e76b72df64eb at w9g2000prc.googlegroups.com...
>
>> In Algol68 this would be:
>> x:=(i|"One","Two","Three"|"None Of The Above")
> 
> The point is, the construction works well when the syntax fully supports
> it.

But note that Algol 68 doesn’t support explicit labels on the alternatives 
in a case expression or statement. That idea came later.



More information about the Python-list mailing list