Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - barrclear() deallocate bit array http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 barrclear()         Deallocate bit array
------------------------------------------------------------------------------
 Declaration
   bit.hdr

 Syntax
   proc barrclear extern
   param value _BITARRAY nArrayHandle

 Arguments
   nArrayHandle is a bit array handle.

 Return
   None.

 Description
   The barrclear() procedure deallocates a bit array.

 Example
   #define EXAMPLE_MATH
   #include example.hdr

   proc Test_barrclear
   vardef
      _BITARRAY pArr
   enddef
   ? "Memory", istr( coreleft() )
   pArr := barrinit( 400000UL, .f. )     // allocate bit array
   ? "Memory", istr( coreleft() )
   barrclear( pArr )                     // free array
   ? "Memory", istr( coreleft() )
   endproc

   proc main
   Test_barrclear()
   endproc

See Also: barrinit()

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