delete

Deletes a file.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

int delete(file-name)
string     file-name

Description

Deletes a file. Returns the error code, if any, received from the operating system.
file-name specifies the file to delete. Be sure to give a complete file specification.

Example

Deletes a temporary list file.
delete("listtemp.tmp");