I think UDFs do not do recursion. The moment you return a value from nested UDFs it finishes the whole stack.
I found that cfmodule can be very good. If you are making a lot of recursive calls to get the same result set, then it is very very important to store the result set inside a structure (say at application level). I found this particularly useful when generating personalised site navigation generated from a database. It made a massive boost to performance. > -----Original Message----- > From: Jeffry Houser [mailto:[EMAIL PROTECTED]] > Sent: 12 September 2002 20:11 > To: CF-Talk > Subject: Re: Recursion > > > Rewrite the function using the CFScript UDF syntax. Theoretically it > should work fine, but it may depend on what you are doing inside the > CFFunction tag. > > At 01:31 PM 9/13/2002 +0600, you wrote: > >Hello all, > > > >I wrote this really neat recursive function using the > <cffunction> tag on > >my development system which is running CFMX on WindowsXP Pro. When I > >ported to the operational host (third party), I discovered that > they were > >running a previous version of CF (I do not know which) which does not > >support the new tag. Does anybody know how to do recursion without the > ><cffunction> tag? > > > >Thank you! > > > >-- > >Respectfully, > > > >Robert J. Polickoski, CNA > >Lead Programmer > >(540) 842-6339 > >[EMAIL PROTECTED] > >AIM: RobertJFP > >Windows Messenger: RPolickoski > >-- > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

