Date: Thu, 16 Oct 2008 18:15:09 -0400
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Differences between Symbols or Mnemonic names
Ron,
I agree with what you said, but not with your examples. Last time I
checked, one can not use the mnemonics for assignments, thus 2 of your four
suggestions wouldn't work.
Yes, it definitely DOES feel like Friday!
Art
---------
On Thu, 16 Oct 2008 17:01:50 -0400, Fehd, Ronald J. (CDC/CCHIS/NCPHI)
<rjf2@CDC.GOV> wrote:
>> From: Lou
>> Sent: Thursday, October 16, 2008 11:58 AM
>> To: sas-l@uga.edu
>> Subject: Re: Differences between Symbols or Mnemonic names
>>
>> "Kevin Y" <kevin77711@YAHOO.COM> wrote in message
>> news:156370.55659.qm@web59607.mail.ac4.yahoo.com...
>> > SAS Programmers use Symbols (i.e., =93>=94) or Mnemonic names (i.e.,
>> > =93gt=
>> > =94). However, more people use Mnemonic names than Symbols.
>> Are there any
>> > m=
>> > inor differences between Symbols or Mnemonic names, please?=0A=0A=0A
>>
>> My impression over the years is that more people use the
>> symbols than the
>> mnemonics. I prefer the symbols because they generally more
>> nearly mimic
>> what you'd write if you were using a pencil and paper.
>
>$0.02:
>from another perspective
>I always use the mnemonics because
>that clues the reader that you are writing a
>logical expression rather than an assignment statement
>
>take your pick
>
>if X eq 'X' then y = z;
>
>if X = 'X' then y = z;
>
>if X = 'X' then y eq z;
>
>if X eq 'X' then y eq z;
>
>tomorrow is Friday,
>just getting a running start. ;-)
>
>Ron Fehd the mostly logical(ly) maven CDC Atlanta GA USA RJF2 at cdc
>dot gov
|