Flame,
I've looked at the Filemode example and the brl.filesystem code. Max appears to ignore the 1st character (filetype) and only handle the permissions.
A 'mode & 511' value is returned.
I'm rusty at binary stuff but, can you test if this returns True if the *nix file is an executable?
I've looked at the Filemode example and the brl.filesystem code. Max appears to ignore the 1st character (filetype) and only handle the permissions.
A 'mode & 511' value is returned.
I'm rusty at binary stuff but, can you test if this returns True if the *nix file is an executable?
Function IsUnixExe(file$) Return FileMode(file$) | %001001001 End Function