%chown() Function

For Windows: Not Supported

The %chown() function changes the owner-ID and group-ID of the file str to the values specified in owner and group respectively.

Syntax

var = %chown(str, owner, group)

Example(s)

if %chown("/tmp/ap.log", 2000, 0) < 0 then

crt ’Cannot change owner’; stop

end

See Also

FlashBASIC C Functions Overview

cfunction Statement