🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #165

Re: Unintuitive semantics for initializing in for statements

#165
From: shopiro
Date: Mon, 21 Apr 1986 14:24
5 lines
738 bytes
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
Technical Details
Message-ID: <5334@alice.uUCp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!alice!shopiro
References: <17195@rochester.ARPA>

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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