However, the same dilemma occurs also if we consider strict extensions,
for example
CASE animal OF
Squirrel: ... |
Whale: ... |
Mammal: ...
END
This is just equivalent to (and makes as much sense as):
IF animal IS Squirrel THEN ...
ELSIF animal IS Whale THEN ...
ELSIF animal is Mammal THEN ...
END
Refer to the pair of examples on P 61 of
Programming in Oberon, 2014:
Regards,
Chris
--
Chris Burrows
CFB Software