KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Using Recursive Code
PRODUCT: 4D | VERSION: 6.8 | PLATFORM: Mac & Win
Published On: December 31, 2002
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

When writing code, recursive coding is when a method calls itself. Another type of recursive code, that is more difficult to detect, is when a method calls a different method which, in turn, calls the calling method. There could be also several additional method levels between the call from the original method and the call back. This last case is often involuntary and proves the most difficult to detect. Because of the difficulty to trace and maintain the code, this last type of programming should not be used.

Download Complete Tech Note & Example: Windows | Mac