Date: Tue, 29 Feb 2000 18:00:51 -0500
Reply-To: "Fehd, Ronald J." <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J." <rjf2@CDC.GOV>
Subject: Re: recursive macros??
Content-Type: text/plain; charset="windows-1252"
> From: Bo Green [mailto:bogreen@SYMPATICO.CA]
> Is there any way to create a recursive function
> in SAS, and if so can someone get me started??
YeahBut, you don't wanna go there, because SAS is not written to support
recursion.
you'll end up spending more time doing workarounds.
RTFM on SAS functions. There are a whole bunch of round flat things, with
holes in the middle -- also known as 'wheels' -- already invented by SI.
Imagine our surprise! LOL
You'll quickly run into the machine limits of register usage, nesting
levels, etc.
all kinds of majorly geek reasons NOT to go there.
But if pressed I could dig out my fibonacci programs.
which are kludges, at best.
take a look at the SAS Toolkit.
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
---> cheerful provider of UNTESTED SAS code!*! <---
|