Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!shopiro From: shopiro@alice.UucP () Newsgroups: net.lang.c++ Subject: Re: Unintuitive semantics for initializing in for statements Message-ID: <5334@alice.uUCp> Date: Mon, 21-Apr-86 09:24:40 EST Article-I.D.: alice.5334 Posted: Mon Apr 21 09:24:40 1986 Date-Received: Wed, 23-Apr-86 12:33:09 EST References: <17195@rochester.ARPA> Organization: Bell Labs, Murray Hill Lines: 5 The advantage in having the iteration variable declared in a for statement remain accessible is that you can test its value after the end of the loop. -- Jonathan Shopiro