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 (August 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 11 Aug 2008 14:15:38 -0500
Reply-To:     Mary <mlhoward@avalon.net>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Mary <mlhoward@AVALON.NET>
Subject:      Re: data questions
Comments: To: "jingtailan@gmail.com" <jingtailan@GMAIL.COM>
Content-Type: text/plain; charset="iso-8859-1"

Actually, none of these looks like real-world problems; in an array, you would usually assign a variable list

array arraylist{*} var1--var1000; and thus the parameters would be a list of variables

In a sum you would have a list of arguments sum(var1,var2,var3); and usually each argument would be a different variable

and in a do loop you would usually go from one value to another value, such as do i=1 to dim(arraylist);

So it does look like your questions are not particulaly relevant to any real-world problems. Who is making up the questions? Why!!!!

-Mary answers: 1. the first value in your array, 2. the last argument in the sum function, 3. the upper end to the loop.

----- Original Message ----- From: jingtailan@gmail.com To: SAS-L@LISTSERV.UGA.EDU Sent: Monday, August 11, 2008 2:03 PM Subject: data questions

all:

I have 3 questions:

1. array _[1000000] 8; question: what is 8 mean?

2. sum=sum(of _numeric_, 5000);

question: what is 5000 mean?

3. do i=1 to le6;

question: what is le6 mean?

Thanks.

Jingtailan


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