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 (January 1998, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 11 Jan 1998 15:25:18 +0800
Reply-To:     Rami Zwick <mkzwick@UXMAIL.UST.HK>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Rami Zwick <mkzwick@UXMAIL.UST.HK>
Organization: HKUST
Subject:      Using array reference in a function
Content-Type: multipart/alternative;

Friends:

I am facing the following puzzle that I do not understand.

I have a data set with 10 variables (Col1-Col10). I use the following statement:

> data yy; set yy; > array item{10} col1-col10; > s=4; > min2 = min(of item{1}-item{s}); > For some reason the min function produces an error:

> 1369 min2 = min(of item{1}-item{s}); > - > 78 > > ERROR 78-322: Expecting a ','. > I do not understand why. Any suggestions will be appreciated.

Thanks, Rami.


[text/html]


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