MEGA65 / mega65-rom-public

MEGA65 ROM public issue reporting
4 stars 0 forks source link

Support literal "@" for DELETE #136

Closed dansanderson closed 5 months ago

dansanderson commented 5 months ago

DSAVE "@xxx" will try to save xxx and replace it if it exists, and not include the @ in the filename. SAVE "@xxx" will save a file with the name @xxx, including the @. This is enough of a hazard that it's easy to accidentally create a file whose name begins with @.

DELETE "@xxx" will not delete a file named @xxx because the call path it uses still considers the @ special and tries to remove it from the name. This makes it cumbersome to delete an accidentally created @xxx file. (You can use a wildcard.)

This Issue requests that DELETE "@xxx" always treat the @ as part of the filename. It does not have a special meaning in this context. (If we discover a reason why it shouldn't be this way, mention it here for posterity.)