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


Syntax:     b_owner(<expC>)

Purpose:    Determine ownership of a file

Arguments:  <expC> is a filename

Returns:    A logical value

Library:    MICROSYS.LIB

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

    func eraseFile(fileName)

        if( !b_owner(fileName) )
            qout("You cannot erase a file that isn't yours!")
            retu(.f.)
        else
            b_erase(fileName)
        endi

    retu(.t.)

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