PreviousNext
Help > EXTREME PROGRAMMING WITH RITTLE > Nested Functions
Nested Functions

Rittle allows functions to be nested within other functions.

In the example below both functions myIntFunc1 and myIntFunc2 exist only within the scope of myFunc.

 

func myFunc;

 

    func myIntFunc1;

        …………………..

    endfunc;

 

    func myIntFunc2;

        …………………..

    endfunc;

 

…………………..

endfunc;