Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>maxhandles() - number of handles allocated to program</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     maxhandles() - number of handles allocated to program
  Usage:    <integer> = maxhandles()
  Params:   none
  Returns:  integer equal to the maximum number of handles available
            for opening by the program

 ---------------------------------- Example ---------------------------------

                 if maxhandles() < 55
                      ? "Not enough handles to run program"
                      ? "Set FILES=55 in your config.sys file"
                      quit
                 endif

  Note:     This function will return the number of handles set
            by the sethandles() function. The default setting is
            20 if no sethandles() are set. Note that DOS will take
            5 of these handles for itself.


See Also: handles() ishandle() nexthandle()

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