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_attrib()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_attrib()


Syntax:     b_attrib(<expC>,<expN>)

Purpose:    Change file attribute

Arguments:  <expC> is the filename

            <expN> is the attribute switch

             1    Normal
             2    Read only
             3    Hidden
             4    System
             5    Volume ID
             6    Subdirectory

Returns:    A logical value

Library:    MICROSYS.LIB

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

   if( b_attrib("myfile.txt",2) )
      qout( "Myile.txt is now read only!" )
   endif

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