Some notes:I took a different approach to the save/reload variables issue and wrote: https://github.com/SteveFosdick/vsave
LDA #&40 ; Open the file for writing
(cough!) reading!

BRK
DB 0
ASC "Unable to open file"
DB 0
should be error number 214, and "Can't load file" or "File not found".
ioerr BRK
DB 0
ASC "I/O Error"
DB 0
should be error 223,"EOF" or "EOF met" or "End of file"
notvars BRK
DB 0
ASC "Not a variables file"
DB 0
should be error number 225 (inappropriate file for this action)
BRK
DB 0
ASC "Unable to open file"
DB 0
should be error 192, "Can't save file".
I'm not sure that's how you spell squirrel.
BRK
DB 0
ASC "Missing filename"
DB 0
should be 204,"Bad filename" - or just let the filing system generate it in the OSFIND call.
See https://beebwiki.mdfs.net/System_error_messages
Also, added to the Commands V list.

Statistics: Posted by jgharston — Sat Feb 08, 2025 9:27 pm