1. Home
  2. Computing & Technology
  3. Delphi Programming

Recursion

By Zarko Gajic, About.com

Definition: Recursion is a very simple, yet useful and powerful programmer's tool. As we know, routines can, and frequently do, call other routines.

A routine that activates/calls itself is called recursive. Recursion is a general method of solving problems by reducing them to simpler problems of a similar type.

A recursive subroutine constantly calls itself, each time in a simpler situation, until it gets to the trivial case, at which point it stops.

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Getting Started with Delphi
  5. Delphi Programming Glossary
  6. Recursion - Glossary - Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.