newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25]
|
10-02-2017, 02:45 PM
Post: #176
|
|||
|
|||
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-09-15]
(10-02-2017 02:07 PM)The Shadow Wrote: New bug: Sorry for your valuable data lost. CRDIR is no different from STO, except the object being stored is a newly created directory. newRPL does have directory overwrite protection in STO to prevent the user from overwriting an entire directory by accident. I just noticed this safeguard is not enabled in CRDIR, now that's something I want to fix. Variables get overwritten all the time, either by STO or CRDIR. Adding a question "Are you sure you want to overwrite this variable?" every time you STO something would make the calculator pretty much unusable. If you think about it, no OS will ask for confirmation when a program opens a file for writing. The user-facing application might detect the file as existing and ask the user if he wants to overwrite, not the OS. In this case, if you are writing a program and you want to let the user know, do something like this: Code:
Although this is not too different from using LOCKVAR/UNLOCKVAR on certain variables. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: