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 (December 1996, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 20 Dec 1996 22:36:36 GMT
Reply-To:     Bill Shannon <shannon@OSLER.WUSTL.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Bill Shannon <shannon@OSLER.WUSTL.EDU>
Organization: Washington Univ. School of Medicine
Subject:      array initialization

I would like to initialize each element of an array of arbitrary size to 0. I would like to be efficient and avoid the following:

1. Write out a 0 for each element, (0, 0, 0, ... , 0), since the size of the array will be large (several hundred) and varying between runs.

2. Write a do loop and explicitly set each element to 0 since the data files may be containg several million records.

Any suggestions?

Thanks

Bill Shannon Washington University School of Medicine St. Louis


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