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 (October 2005, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 31 Oct 2005 15:15:42 -0500
Reply-To:   Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject:   Re: An Alternative to LAG function
Comments:   To: "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>

On Mon, 31 Oct 2005 13:22:49 -0500, Richard A. DeVenezia <radevenz@IX.NETCOM.COM> wrote:

>Hi Chang: > >I might suggest the # symbol as the operator for this language construct. >It fits nicely with the concept of # as line number in input, put and window >statements. [] () and {} are ingrained as rowwise array address bounders. > >var#n fetches value of var at row n >var#-n fetches value of var at nth prior row >var#+n fetches value of var at nth next row >var#(expression) value of var at row of evaluated expression >var#-(expression) value of var at evaluated expression prior row >var#+(expression) value of var at evaluated expression next row.

Hi, Richard, Makes perfect sense. You should be the head architect of the sas language!! Cheers, Chang


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