## FERASE Erase component file

The FERASE function allows you to erase a component file from the host file system. You must have the correct host access permission to erase the file. If the file is currently tied it will be untied before attempting to erase it.

The usual syntax of FERASE is :

          FERASE FILENAME

FILENAME is a character vector specifying the name of the file to erase. The name is specified in the same way as for FCREATE. If the name contains a directory-separator character (: / or \), it is treated as a full host path name, and you need to specify the file extension, by convention `.aqf`. Otherwise it is treated as basic file name only, optionally preceded by a volume number 0 to 9, separated by one or more spaces from the name. In the latter case, the file is created in the directory 0 to 9 specified (the actual path is set the preferences dialog or MOUNT), and the file extension `.aqf` is added automatically.

For compatibility with some other APL interpreters which require the file to be tied before it can be erased, an alternate syntax for FERASE is supported :

          FILENAME FERASE TIENO

Topic: APLX Help : Help on APL language : System Functions & Variables : FERASE Erase component file

[ Previous | Next | Contents | Index ]