Œ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 ]