RESET: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 11: Line 11:


{{PageSeeAlso}}
{{PageSeeAlso}}
* [https://qb64phoenix.com/forum/showthread.php?tid=1357 Featured in our "Keyword of the Day" series]
* [[OPEN]]
* [[OPEN]]
* [[CLOSE]]
* [[CLOSE]]

Latest revision as of 22:22, 25 May 2024

The RESET statement closes all files and writes the directory information to a diskette before it is removed from a disk drive.


Syntax

RESET


  • Always execute a RESET command before removing a diskette from a disk drive. Otherwise, when the diskette is used again, it will not have the current directory information written on the directory track.
  • RESET closes all open files on all drives and writes the directory track to every diskette with open files.


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link