Re: Error description: recursionLimit: Recursion limit reached

2005-08-08 Thread Hershel Fisch
On 8/7/05 11:28 PM, James Spencer [EMAIL PROTECTED] wrote:

 

Thanks, Hershel
 On Aug 7, 2005, at 4:52 PM, Hershel Fisch wrote:
 
 Hi all what is the meaning for this error Error description:
 recursionLimit: Recursion limit reached
 Thans, Hershel
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 Recursion is when a function (or handler in the case of Rev) calls
 itself.   There are many situations where recursion is a pretty good
 way to solve a problem, the classic example being calculating a
 factorial which can be calculated as:
 
 function factorial number
 if number = 1 then
return 1
 else
return number * factorial(number - 1)
 end if
 end factorial
 
 The error message arises because each time you recurse, information
 is stored in the memory of the computer so it can no how to return
 back up the chain once it gets to the beginning (where number = 1 in
 the example).  Obviously, there is a limit to how many times you can
 call factorial() without breaking the program.  The actual limits are
 variable depending on the parameters passed etc.
 
 More typically, the problem arises because you accidentally have a
 handler that is calling itself in an endless loop.
 
 Spence
 
 James P. Spencer
 Rochester, MN
 
 [EMAIL PROTECTED]
 
 Badges??  We don't need no stinkin badges!
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Error description: recursionLimit: Recursion limit reached

2005-08-07 Thread Hershel Fisch
Hi all what is the meaning for this error Error description:
recursionLimit: Recursion limit reached
Thans, Hershel

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error description: recursionLimit: Recursion limit reached

2005-08-07 Thread James Spencer


On Aug 7, 2005, at 4:52 PM, Hershel Fisch wrote:


Hi all what is the meaning for this error Error description:
recursionLimit: Recursion limit reached
Thans, Hershel

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



Recursion is when a function (or handler in the case of Rev) calls  
itself.   There are many situations where recursion is a pretty good  
way to solve a problem, the classic example being calculating a  
factorial which can be calculated as:


function factorial number
if number = 1 then
return 1
else
return number * factorial(number - 1)
end if
end factorial

The error message arises because each time you recurse, information  
is stored in the memory of the computer so it can no how to return  
back up the chain once it gets to the beginning (where number = 1 in  
the example).  Obviously, there is a limit to how many times you can  
call factorial() without breaking the program.  The actual limits are  
variable depending on the parameters passed etc.


More typically, the problem arises because you accidentally have a  
handler that is calling itself in an endless loop.


Spence

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

Badges??  We don't need no stinkin badges!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution