Platform | x64, Win32 |
Purpose |
To delete a file. |
Syntax |
SUBROUTINE ERASE@(FILE,ERROR_CODE)
|
Description |
ERASE@ deletes a file. The file name may be a local name, for example: FOO.TXT, or a fully qualified pathname, for example, C:\PROJECT\JUNK.TXT. ERROR_CODE is returned as zero for success or with the system error code. |
Example |
CALL ERASE@('USELESS.DAT',ERROR_CODE) |