RESET: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "The '''RESET''' statement closes all files and writes the directory information to a diskette before it is removed from a disk drive. {{PageSyntax}} :: 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 fil...")
 
No edit summary
Line 2: Line 2:




{{PageSyntax}}  
{{PageSyntax}}
:: RESET
:: RESET


Line 10: Line 10:




''See also:''  
''See also:''
* [[OPEN]]
* [[OPEN]]
* [[CLOSE]]
* [[CLOSE]]

Revision as of 02:28, 23 January 2023

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