Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>free_buf()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FREE_BUF()
   Frees memory allocated by FLIP_INIT().

   Syntax
         nOk = FREE_BUF()

   Arguments
         None

   Returns
         nOk          Indicates whether the FREE_BUF() succeeded or failed.
                           0 - Initialization succeeded.
                           1 - Initialization failed.

   Description
         FREE_BUF() will free memory allocated by FLIP_INIT().

         Continually allocating and freeing memory can act to fragment the
         free pool memory. It is better to allocate your buffer at the
         beginning of your program one time.

   Examples

               FLIP_INIT()          && Initialize buffer
               VM_INIT(10,0,"Flipper.Vm")
               ? MEMORY(0)          && Check free pool memory
               FREE_BUF()           && Free allocated buffer memory
               ? MEMORY(0)          && Check free pool memory

See Also: FLIP_INIT()

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