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>nexthandle() - find out the next available handle number</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     nexthandle() - find out the next available handle number
  Usage:    <integer> = nexthandle()
  Params:   none
  Returns:  integer equal to the next available handle or -1 if none

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

                 ? nexthandle() && prints 5
                 handle = fopen("test.txt")
                 ? nexthandle() && prints 6
                 fclose(handle)
                 ? nexthandle() && prints 5


See Also: ishandle() maxhandles() handles()

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