-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LOADB/SAVEB woes #500
Comments
On more thought. Maybe "LOAD" is not that great, it is normally used for Block loading, so there is some risk of conflict or confusion. SuperForth64 uses "LOADRAM" and "SAVENAME + SAVE". ultraFORTH83 uses "BLOAD"/"BSAVE". More investigation to follow... |
Something Unix-ish, like maybe READ WRITE. |
I like LOAD-FILE/SAVE-FILE best, because this naming is similar to Forth Standard words (OPEN-FILE, CLOSE-FILE, ...) but it is unclear if it is worth a breaking change... |
Maybe they should be hidden and we can offer LOAD and SAVE in io.fs? |
If I understand correctly, unlike standard Does the "binary data" mentioned in the manual mean "PRG file" (another thing I don't know about)? If so how about |
I think "binary data" is nonsense, you are right in that it reads whole .prg files. Maybe load-prg/save-prg is good. |
Another gripe about |
Yet another confusing thing... loadb takes first filename, then data address. saveb takes first data address, then filename. It is set up for mistakes. |
|
Back in 2009, LOADB/SAVEB got their names because "LOAD" was already in use.
Since "LOAD" is now unused, I think it would make sense to rename "LOADB"/"SAVEB" to simply "LOAD"/"SAVE" (or, possibly, "LOAD-FILE"/"SAVE-FILE").
The text was updated successfully, but these errors were encountered: