Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

SetComment

Change a files' comment string

Declaration

Source position: amigados.pas line 2455

function SetComment(

  const Name: PChar;

  const Comment: PChar

):LongBool;

Arguments

Name

  

Name of File to set comment

Comment

  

Comment to set

Description

SetComment() sets a comment on a file or directory. The comment is a pointer to a null-terminated string of up to 80 characters in the current ROM filesystem (and RAM:). Note that not all filesystems will support comments (for example, NFS usually will not), or the size of comment supported may vary.

See also

Examine

  

Examine a directory or file associated with a lock

ExNext

  

Examine the next entry in a directory

SetProtection

  

Set protection for a file or directory


Documentation generated on: 2021-07-30