Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

SetComment

Change a files' comment string

Declaration

Source position: amigados.pas line 1712

function SetComment(

  name: PChar;

  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