t3x.org / t3x / t3x-manual / 32E.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
3.2.13 READ
TOC | Index | Back Next:
3.2.15 RENAME

3.2.14 REMOVE

T.REMOVE(path) ! Str => Num

Remove the directory entry specified in 'path'. The exact format of 'path' depends on the operating system.

On systems supporting multiple links (names) for a single file, this procedure will only remove the specified link. On such systems, other links to the file may still be used to access the file. Only when the last link is removed, the file will become inaccessible. On other systems, REMOVE deletes the given file immediately.

REMOVE returns zero, if the directory entry could be deleted successfully and a negative value otherwise.

See also: RENAME, SYSTEM.OPENDIR

Previous:
3.2.13 READ
TOC | Index | Back Next:
3.2.15 RENAME