Date: Wed, 17 Feb 1999 13:49:13 -0500
Reply-To: Undetermined origin c/o LISTSERV administrator
<owner-LISTSERV@VTVM1.CC.VT.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Undetermined origin c/o LISTSERV administrator
<owner-LISTSERV@VTVM1.CC.VT.EDU>
finch-post-11.mail.demon.net([194.217.242.39];helo=POST.MAIL.DEMON.NET) by
AKH-Wien.AC.AT with
TCP
Received: from [194.222.186.226] (helo=crawfordsoftware.demon.co.uk) by
post.mail.demon.net with smtp (Exim 2.12 #1) id 10DB94-00066R-00 for
SAS-L@AKH-WIEN.AC.AT; Wed, 17 Feb 1999 17:52:22 +0000
MIME-Version: 1.0
X-Mailer: Turnpike (32) Version 3.05 <uUq1LwAYB2QUgi8fmhIjRFrCnM>
Message-ID: <hDhA0BANCwy2Ew1B@crawfordsoftware.demon.co.uk>
Newsgroups: bit.listserv.sas-l
Date: Wed, 17 Feb 1999 17:46:53 +0000
Reply-To: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@AKH-WIEN.AC.AT>
From: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Subject: Re: ARRAY statement in SCL
X-LSVRepTo:
X-LSVopts: NOACK
X-LSVvia: SAS-L@AKH-WIEN.AC.AT
X-LSVTag: Message-ID: <hDhA0BANCwy2Ew1B@crawfordsoftware.demon.co.uk>
X-LSVTag: Date: Wed, 17 Feb 1999 17:46:53 +0000
X-LSVTag: To: SAS-L@AKH-WIEN.AC.AT
X-LSVTag: From: Peter Crawford <Peter@crawfordsoftware.demon.co.uk>
X-LSVTag: Subject: Re: ARRAY statement in SCL
X-LSVTag: In-Reply-To: <919262430.2120838.0@vm121.akh-wien.ac.at>
X-LSVTag: MIME-Version: 1.0
X-LSVTag: X-Mailer: Turnpike (32) Version 3.05 <uUq1LwAYB2QUgi8fmhIjRFrCnM>
To: $PEER$ <SAS-L@VTVM1.CC.VT.EDU>
In-Reply-To: <919262430.2120838.0@vm121.akh-wien.ac.at>
>ARRAY TEMP{*} VAR1-VARn;
>where n will vary.
Array statements need to fix their size at compile time.
I think that (dynamic length arrays) is what they introduced scl lists
to provide
In article <919262430.2120838.0@vm121.akh-wien.ac.at>, Kevin J. McCardey
<kevinm@DUKE.EDU> writes
>Greetings,
>
>I'm trying to set up an ARRAY statement in an SCL entry (outside of any
>SUBMIT blocks) where the index on the ending variable can change,
>depending on the user's selections. That is,
>ARRAY TEMP{*} VAR1-VARn;
>where n will vary.
>VAR1 thru VAR n don't exist yet. I will be populating them inside of a
>subsequent DO loop, such as:
>DO I=1 TO DIM(TEMP);
> other SAS statements;
> TEMP(I)=values derived in above other;
>END;
>
>The process works when I hard code n to some value (say 5) but I'd like
>to set up a process that's dynamic in the sense that SCL can figure out
>the ending n value so this process can be utilized across many applications.
>
>TIA,
>Kevin
--
Peter Crawford
|