LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 2000, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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??
Comments: To: Bo Green <bogreen@SYMPATICO.CA>
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!*! <---


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