Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>b_erase()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_erase()


Syntax:     b_erase(<expC>)

Purpose:    Erase a file

Arguments:  <expC> is the filename

Returns:    A logical value

Note :      The named file must be closed in order to be removed

Library:    MICROSYS.LIB

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

   tmp_file := b_tempfile("loi","dbf","z:\bhq\systest\tempfile")

   if( !b_erase((tmp_file)) )
       qout("Unable to erase "+tmp_file)
   endi

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