LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2002, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: kviel <kviel@GMCF.ORG>
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? <G> > > Dobry vecer, > > Kevin

Dobriy. As a long-time SAS-lers subjected to my abuse you should see it clearly :-).

> 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...

Kind regards, ====================== Paul M. Dorfman Jacksonville, FL ======================

> > > > 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.


Back to: Top of message | Previous page | Main SAS-L page