CLEAR_FILE

  

DEVELOPER

 

 

Purpose
 

CLEAR_FILE clears a file.

Syntax
 

CLEAR_FILE(<filepath>)

Operation

<filepath> Full path to the file

Remarks

1 - File cleared

-1 - File cannot be cleared

A file can only be cleared if it has read/write permissions on it. Only the platform operating system protects a shared file from being cleared.

Example

#RC = CLEAR_FILE("C:\Program Files\Zellis\Exports\example.seq")

Error codes are returned to the caller.

Comment on this topic

Topic ID: 520193