[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] WinAvr 2005... compile problems

From: Daniel O'Connor
Subject: Re: [avr-gcc-list] WinAvr 2005... compile problems
Date: Sun, 13 Mar 2005 11:26:36 +1030
User-agent: KMail/1.7.92

On Sun, 13 Mar 2005 03:21, Graham Davies wrote:
> Dave Hansen wrote:
> > anyone who would create two symbols within a C program
> > that could be used within the same context that differ only
> > by the case of some characters would rightly be ridiculed
> Well, I'd better step forward to be ridiculed, then.  I do this all the
> time.  My personal coding style requires non-local variables to begin with
> an uppercase letter and local variables with a lowercase letter.  If I want
> to grab a non-local and do a lot with it then the local that holds it
> temporarily has exactly the property you so deride.  Please ridicule
> constructively if possible.

Why not just use the global symbol? (ie why make a local copy?)

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpRYCMF4QQ8Q.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]