Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Recursion

The grammar can represent recursive functions.

Example:

Nunction Countdown(Int I)
{
    If (I > 0)
    {
        Print(\V"{I}");
        Countdown(I - 1);
    }
}

Recursive calls use the same native function call path as other calls. A recursive function can have parameters and can return a value.


← Previous Next →