![]() |
|
|
|
|
1
7th February 08:35
External User
Posts: 1
|
The implementation of ranges for case-conditions are not failings.
They are not 'banned' by the first Pascal standard, and their absence is not due to technical considerations - it is just a matter of historical timing. The Case statement was a recent programming language invention by Tony Hoare when Pascal was originally conceived in 1968. The use of case-label ranges wasn't proposed until 1974 by which time Wirth had already started working on Modula. Case-label ranges were eventually included in the Extended Pascal ISO Standard 10206:1990. Wirth's later languages (including Modula-2 and Oberon) both included case-label ranges from day 1. He does not have a reputation for introducing error-prone or inefficient features on a whim - just the opposite in fact. -- Chris Burrows CFB Software http://www.cfbsoftware.com |
|
|
|