AdobeStock_455007340

Recursion in UDF's

ColdFusion 5 UDF’s (User Defined Functions) fully support recursion (functions calling themselves). Each called function is its own call – any variables defined in a prior call will not be visible, and changes to a variable will not effect earlier calls. To explicitly share data between calls place that data in the REQUEST scope. (Applies to: ColdFusion 5)

Leave a Reply

Discover more from Ben Forta

Subscribe now to keep reading and get access to the full archive.

Continue reading