HPlogo Accessing Files Programmer's Guide > Chapter 6 Closing a File

Chapter 6 Closing a File

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 6 ♥
E0692 Edition 5

Table of Contents
How the File System Closes a File
Closing a Disk File
Closing a new disk file as permanent
Closing a permanent disk file
Closing a Magnetic Tape File
Once your program is finished accessing a file, the program can terminate access to the file with the FCLOSE intrinsic. This chapter discusses various ways that you can use the FCLOSE intrinsic to close disk files and device files. Examples are provided to illustrate important features available through the FCLOSE intrinsic. The following subjects are discussed in detail:
  • how the file system closes a file

  • closing a disk file

  • closing a magnetic tape file




Opening a Device File


How the File System Closes a File