Date: Mon, 12 Mar 2001 10:59:07 -0500
Reply-To: kviel <kviel@GMCF.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: kviel <kviel@GMCF.ORG>
Subject: Is there an implicit POINT= option in the Ian Whitlock do loop?
Content-Type: text/plain; charset="iso-8859-1"
If we have a do loop of the Ian Whitlock fashion:
data _null_;
array tmp (*) _temporary_;
do i=1 by 1 until (end); /* or (last.x) */
set other;
tmp(i)=var;
end;
run;
is there an implicit POINT= option in the SET statement?
Something of this nature:
proc sql;
select count(*) into: n
from other
;
quit;
data _null_;
array tmp(*) _temporary_;
do i=1 to &n;
set other point=i;
tmp(i)=var;
end;
output;
stop;
run;
------------------------
CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files
or previous e-mail messages attached to it may contain proprietary,
privileged or confidential information. If you are not an intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or use of any of the information contained in or
attached to this transmission is STRICTLY PROHIBITED. If you have
received this transmission in error, please immediately notify me by
reply e-mail and destroy the original transmission and its
attachments without saving them in any manner.
-----------------------
|