ERASE Examples


Example 1:

 

  

ERASE

"C:\DATA\FILE.TXT"

 

Locates and erases the file `FILE.TXT' on the local disk. If the file is currently open by this or another program, an I/O error occurs.

 

Example 2:

 

  

ERASE

"C:\DATA\FILE.TXT|127.0.0.1"

 

Locates and erases the file `FILE.TXT' on the disk of the SUNDM Data Manager at IP address 127.0.0.1. If the file is currently open by this or another program, an I/O error occurs.

 

Example 3:

 

  

ERASE

"C:\DATA\FILE.TXT|www.sunbelt-plb.com"

 

Locates and erases the file `FILE.TXT' on the disk of the SUNDM Data Manager at "www.sunbelt-plb.com". If the file is currently open by this or another program, an I/O error occurs.

 



PL/B Language Reference EQUATE Examples EXECUTE Examples