QMClearFile()

QMClearFile()

Top  Previous  Next

 

The QMClearFile() function deletes all content from a file. It is analogous to the QMBasic CLEARFILE statement.

 

The function takes a single argument, FileNo, as the file number returned from a previous use of the QMOpen() function.

 

The code fragment in the examples below opens the CLIENTS file and clears it.

 

 

hmtoggle_plus1C

 

hmtoggle_plus1VB.Net

 

hmtoggle_plus1QMBasic Class Module

 

hmtoggle_plus1Java

 

hmtoggle_plus1Python