From owner-cvs-all Tue Apr 2 7:18:14 2002 Delivered-To: cvs-all@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 774A437B417 for ; Tue, 2 Apr 2002 07:18:06 -0800 (PST) Received: (qmail 45725 invoked from network); 2 Apr 2002 15:17:33 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 2 Apr 2002 15:17:33 -0000 Date: Tue, 2 Apr 2002 10:17:33 -0500 (EST) From: Kenneth Culver To: Josef Karthauser Cc: Paul Richards , Matthew Dillon , Mike Barcroft , "M. Warner Losh" , , , Subject: Re: cvs commit: src/sys/i386/i386 critical.c src/sys/i386/include cpufunc.h critical.h src/sys/i386/isa apic_vector.s icu_vector.s src/sys/kern kern_fork.c kern_proc.c kern_switch.c src/sys/alpha/alph In-Reply-To: <20020402101952.GE31350@genius.tao.org.uk> Message-ID: <20020402101557.P45652-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Isn't it normal in C++ (cough) as well? > J. > It's allowable, but about the only place I see it is in things like this: for(int i = 0; i < SOMENUM; i++) { ... } In many schools they deduct points from programming projects for declaring variables anywhere but the top of a function. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message