help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Dos' (#rtl)

SetFAttr

Set file attributes

Declaration

Source position: dosh.inc line 128

procedure SetFAttr(

  var f;

  attr: Word

);

Description

SetFAttr sets the file attributes of the file-variable F. F can be a untyped or typed file, or of type Text. F must have been assigned, but not opened. The attributes can be a sum of the following constants:

Remark: Under unix like systems (such as linux and BeOS) the call exists, but is not implemented, i.e. it does nothing.

Errors

Errors are reported in DosError.

See also

GetFAttr

  

Get file attributes

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505