Date: Mon, 4 Mar 2002 17:24:15 -0500
Reply-To: "Dorfman, Paul" <Paul.Dorfman@BCBSFL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Dorfman, Paul" <Paul.Dorfman@BCBSFL.COM>
Subject: Re: counting of specific values in a var row
Content-Type: text/plain; charset=iso-8859-1
Kevin Viel wrote:
> > new = 4 - length(compress(tranwrd(tranwrd(peekc(addr(var1),4*8),
> > put(1,rb8.),''),put(2,rb8.),''))) / 8 ;
> > put var1-var4 new= ;
> >run ;
> What comes first, I see this clearly or I finish all three Knuth volumes?
> Dobry vecer,
Dobriy. As a long-time SAS-lers subjected to my abuse you should see it
> PS When I get around to putting my hard drive back in my old
> computer, I'll be sure to play with peek() and poke()!
What do you need the hard drive for, anyway? It's all happenning in
memory... Plus Peek/Peekc is a read-only function, so it is as dangerous as,
say, Index(). Call Poke() is the only Big Spooky according to TFM, and even
with that, the only thing it says, keep matches away from children...
Paul M. Dorfman
> Kevin Viel
> Georgia Medical Care Foundation
> 57 Executive Park South, NE
> suite 200
> Atlanta, GA 30329-2224
Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.