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

SetComment

Change a files' comment string

Declaration

Source position: amigados.pas line 1709

function SetComment(

  const name: pCHAR;

  const comment: pCHAR

):LongBool;

function SetComment(

  const name: string;

  const comment: pCHAR

):Boolean;

function SetComment(

  const name: pCHAR;

  const comment: string

):Boolean;

function SetComment(

  const name: string;

  const comment: string

):Boolean;

Arguments

name

  

Name of File to set comment

comment

  

Comment to set

Arguments

name

  

Name of File to set comment

comment

  

Comment to set

Arguments

name

  

Name of File to set comment

comment

  

Comment to set

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