Date: Fri, 3 Nov 2006 16:06:18 -0500
Reply-To: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Subject: Re: OT: Chance to Make SAS-L History: Did You Know That...
In-Reply-To: <7367b4e20611031255n2285f94dj8a9c03b99dd2a586@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Add me to the double dipper list.
Did you know that if you want to write tools that build directory paths and
have them work on both Unix and Windows that Windows will support either /
or \. So if you write code that has to generated separator characters, the /
will work on both.
-don
Ps to Mike - not sure if you wanted this to be one long email or just a
thread with lots of entries. If the former, someone will have to go back and
rebuild a single email with all the comments in it since some of us have
cross-posted and some of us did not include the history.
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of data
_null_;
Sent: Friday, November 03, 2006 3:55 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: OT: Chance to Make SAS-L History: Did You Know That...
As much as I would like to think this is my original idea it is not.
I'm sure I learned it on SAS-L probably from "Ian Whitlock
<iw1junk@comcast.net>"
On 11/3/06, Choate, Paul@DDS <pchoate@dds.ca.gov> wrote:
> My Texan friend Toby just made me think of this little "flatten" jewel
> ... posted earlier this year by Data _Null_ - it keeps the last
> non-missing value in each column by the sort group:
>
> data notflat;
> input id sat_math sat_verbal act_comp; cards;
> 8188 560 . .
> 8188 . 540 .
> 8188 . . 12
> 8189 660 . .
> 8189 . 740 13
> 8189 . . .
> ;
>
> data flat;
> update notflat(obs=0) notflat;
> by id;
> run;
>
> result:
> 8188 560 540 12
> 8189 660 740 13
>
> Paul Choate
> DDS Data Extraction
> (916) 654-2160
>