Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 v7 ucbtopaz-1.8; site ucbtopaz.CC.Berkeley.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!ucbvax!ucbtopaz!mwm From: mwm@ucbtopaz.CC.Berkeley.ARPA Newsgroups: net.lang.c Subject: Re: event-handling approach to errors Message-ID: <801@ucbtopaz.CC.Berkeley.ARPA> Date: Thu, 7-Mar-85 22:24:14 EST Article-I.D.: ucbtopaz.801 Posted: Thu Mar 7 22:24:14 1985 Date-Received: Sun, 10-Mar-85 07:06:37 EST References: <7028@watdaisy.UUCP> <105@mit-athena.UUCP> Reply-To: mwm@ucbtopaz.UUCP (Praiser of Bob) Organization: Missionaria Phonibalonica Lines: 18 Summary: > ... How do > you provide a correction action for something like a subscript violation? Complain if the user doesn't catch it. The user then gets to use it for walking dynamic arrays, to wit: i := 0 while true doend except when bounds: end After seeing that a few times, it reads as naturally as: for (i = 0; i < bounds; i++) ;