Menu

#307 replace 'name' by 'rename' in -lang fb mode

open
nobody
None
2017-11-17
2017-11-17
munair
No

The keyword 'name' is an old QuickBASIC leftover for renaming files. But it isn't really a meaningful name for that operation, while it could be very meaningful as a property in a GUI environment (as would be the current keyword 'close'). I would like to see the keyword 'rename' as replacement becoming default in -lang fb mode, while 'name' remains reserved for -lang qb mode.

As a second thought it might also be more consistent to follow the example of 'FileExists' (it isn't called 'exist' after all). So the current keywords for file operations might change to:

KILL -> KillFile (preferably 'DeleteFile')
NAME -> RenameFile
OPEN -> OpenFile
CLOSE -> CloseFile

Discussion


Log in to post a comment.

MongoDB Logo MongoDB