#27 NEW doesn't reset the file name

Open
opened 2 years ago by ChipMaster · 0 comments

The NEW command does not reset the file name from the last LOAD / SAVE.

LOAD "SAVEME.BAS"
NEW
10 PRINT "BYE BYE"
SAVE

POOF goes the program “SAVEME.BAS” has now been replaced by “BYE BYE”. Also if you do EDIT before SAVE then “SAVEME.BAS” is shown and upon exiting the editor whatever code had been entered prior to EDIT is lost. “SAVEME.BAS” is re-loaded. This makes the life of a new propgram precarious and there is no way to prevent the loss once you used EDIT.

Sorry Charlie!!!

:-(

The `NEW` command does not reset the file name from the last `LOAD` / `SAVE`. ``` LOAD "SAVEME.BAS" NEW 10 PRINT "BYE BYE" SAVE ``` **POOF** goes the program "SAVEME.BAS" has now been replaced by "BYE BYE". Also if you do `EDIT` before `SAVE` then "SAVEME.BAS" is shown and upon exiting the editor whatever code had been entered prior to `EDIT` is lost. "SAVEME.BAS" is re-loaded. This makes the life of a new propgram precarious and there is no way to prevent the loss once you used `EDIT`. _Sorry Charlie!!!_ :-(
ChipMaster added the
blunder
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.