A file's properties

Dan Friedman dan at clearvisiontech.com
Tue Jun 4 11:04:01 EDT 2002


Good Morning!

Is there a way to determine if a file is locked?

I put two text files in a folder, one of which is locked the other was not.
Then, I tried:

put the detailed files

What I got back was:

LOCK.txt,140,332,1009543953,1009543953,0,0,0,0,666,ttxtTEXT
UNLOCK.txt,140,332,1009543953,1009543953,0,0,0,0,666,ttxtTEXT

The "666" (item 10) is the octal entry for the permissions of the files.  If
this is the case, and one of these files is locked, why are they both "666"?

Thanks!
Dan




More information about the use-livecode mailing list