
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - <u>the function n_fattr() has been superseded by n_fattrget() and </u>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The function N_FATTR() has been superseded by N_FATTRGET() and
N_FATTRSET() in this version of NetLib. Though superseded, N_FATTR()
has been retained in the library to maintain compatibility with
earlier versions of NetLib. Future versions may not retain N_FATTR(),
so please take this opportunity to begin using the new functions in
your code.
Syntax
N_FATTR( <cFilespec>, <cAttribute> [, <lSetting> ] )
Parameters
<cFilespec>
Path (optional) and filename of the file.
<cAttribute>
File attribute to read or set.
<lSetting>
.T. turns the attribute On.
.F. turns the attribute Off.
Returns
If <lSetting> is omitted, returns a logical value indicating the
current setting for <cAttribute>.
Description
Attribute names can be abbreviated to two characters. (Case is
ignored.)
Attribute Description
REad only Useful to protect files that rarely need to be updated.
HIdden Not displayed during a DIR listing. Normal in all other
respects.
ARchive Automatically turned ON by DOS whenever a file is
modified. The attribute will not actually take effect
until the file is closed.
The following attributes are applicable for Novell only.
Attribute Description
SHareable This is the one affected by the FLAG console command.
Ignored by Clipper programs but may be required by
others.
TRansaction A file must be marked as a transaction file in order to
recover it with Novell's Transaction Tracking System
(TTS).
INdexing A Novell attribute used to speed up the access of very
large files (10 MB and up). It has no relation to a
database index file.
See Also: N_FATTRSET()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson