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 (February 1996, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 12 Feb 1996 17:36:17 PST
Reply-To:     TWB2%Rates%FAR@GO50.COMP.PGE.COM
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         TWB2%Rates%FAR@GO50.COMP.PGE.COM
Subject:      Probably a Felony to Post

Now this, in my book, is obscene (or at least indecent): 19 %macro scanit(string,word); 20 %let part=%scan(&string,&word,'\'); 21 %put PART= &part; 22 %mend scanit; 23 %scanit(string=fileservice\loadhist\badpulse,word=1); PART= FILESERVICE 24 %scanit(string=\fileservice\loadhist\badpulse,word=1); PART= FILESERVICE

The %scan function is ignoring leading delimiters. Yes, I can get around it with %let string=garbage\&string;--that is why it is just indecent.

Tim Berryhill - Contract Programmer and General Wizard TWB2@PGE.COM Frequently at Pacific Gas & Electric Co., San Francisco The correlation coefficient between their views and my postings is slightly less than 0


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