>>run it and find out.  It is not a memory issue.

Of course it is not.
Recursing to a level of 1000 is not a problem.

As I said, with a factorial function, you will hit an overflow before 
any limit of recursion or any memory limit.
Can ou imagine how large is 1000! ?

At a certain point, you hit an infinite value, and this brakes the 
returntype="numeric" condition.
This is what caused the error.

The limit is the size of a numeric value that CF can handle, nothing to 
do with a limit with recursive functions.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289107
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to