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.
Washington University School of Medicine