Date: Mon, 2 Apr 2007 15:56:57 -0400
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject: Re: Inequality of Inequality Operators
In-Reply-To: <7367b4e20704021229g56bc9101o914e9f5d68722431@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii
One of the items in my
Writing for Reading and Reuse
or Testing
Style Sheet
is to use mnemonics in conditions
and equal sign for assignments
if X eq 13 then Y = ...;
> DO _N_ eq 1 to dim...
love it!
just what I typed last week!
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
> From: data _null_;
> Long before there was WHERE in SAS there was the MAX(<>) operator.
> Your example is also a good reason to use mnemonics. I try
> to use them exclusively. I have used EQ for = so much that
> one of my most common errors is writing EQ for assignment.
>
> DO _N_ eq 1 to dim...
>
> just doesn't work right.
|