Clearing data from data file

Function

Clear data from data file.

Syntax

Detailed Description

The CLFILE statement clears the data from a data file.

Clearing this data releases the corresponding memory for use by other data files and the user application program.

Set fileno to the value specified when opening the data file.

Example

Clear data from data file
  private SNO$
  private QTY$
  private BARDATA$
  open "TESTDATA.DAT" as #1                       ' open data file 
  field #1, 3 as SNO$, 5 as QTY$, 13 as BARDATA$  ' define fields
  
  clfile #1                                       ' discard all data
  close #1

(C)2002-2004 DENSO WAVE INCORPORATED All right reserved