01-02-2023, 03:21 PM
How many of you guys know this word even exists in our language? The command is RESET, but how many remember exactly WHAT it resets? Or what it's for?
This is one of those very important old keywords, that has basically became lost to time.
Keyword: RESET
Wiki page: https://qb64phoenix.com/qb64wiki/index.php/RESET
What's this do: It basically works as a superpowered CLOSE statement. Back in the day, when folks used floppy disks and such, it was necessary to use RESET to write your current directory info to the drive track. Before you ever exited a program, and pulled your floppy out of the drive, you'd issue a RESET command to close all files and update all drive information to the floppy.
Nowadays? Who owns a floppy drive? Would a modern OS even require this type of command to update that information, IF you happened to have a floppy drive connected?? I dunno!!
All this command does for us now, is basically just work as a CLOSE statement to close all files. It's unused. Obsoleted. Forgotten...
...Maybe I should've saved this keyword for Memorial Day.
RIP poor RESET.
This is one of those very important old keywords, that has basically became lost to time.
Keyword: RESET
Wiki page: https://qb64phoenix.com/qb64wiki/index.php/RESET
What's this do: It basically works as a superpowered CLOSE statement. Back in the day, when folks used floppy disks and such, it was necessary to use RESET to write your current directory info to the drive track. Before you ever exited a program, and pulled your floppy out of the drive, you'd issue a RESET command to close all files and update all drive information to the floppy.
Nowadays? Who owns a floppy drive? Would a modern OS even require this type of command to update that information, IF you happened to have a floppy drive connected?? I dunno!!
All this command does for us now, is basically just work as a CLOSE statement to close all files. It's unused. Obsoleted. Forgotten...
...Maybe I should've saved this keyword for Memorial Day.
RIP poor RESET.