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

Recursion

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. 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.