Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfrecourse()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfRecourse()
Controls if the function current is in recursion
------------------------------------------------------------------------------
Syntax:

     dfRecourse() --> lRecourse

Parameters:

     NONE

Returns:

     <lRecourse> If .T. the current called function is recursive

Description:

     Controls if the current function is in recursion, This function can be
     useful to avoid the recursion of any functions

Example:

     test()
     
     FUNCTION test()
     
     IF dfRecourse()
        dbMsgErr( "recursion is NOT possible")
     ELSE
        test()
     ENDIF
     
     RETURN NIL

See also:

     dbMsgErr()

See Also: dbMsgErr()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson