Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>stackfree()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 STACKFREE()
 Determines the remaining stack space
------------------------------------------------------------------------------
 Syntax

     STACKFREE() --> nFreeByte

 Returns

     STACKFREE() returns the number of bytes available on the stack.

 Description

     This function helps avoid system crashes.  If the returned value falls
     below 100, do not permit deeper branching.  Either change the program so
     that a large nesting depth cannot be reached, or increase the stack size
     when linking.

 Note

     .  The stack is a low-level system area.  Each DO requires some
        memory bytes, before a RETURN can ensue.

 Examples

     .  Query the stack size:

        ? STACKFREE()               // < 100 ??

     .  Link the application within increased stack size:

        RTLINK FI Test /ST:8000


See Also: ALLOFREE()*

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