Program which adds UNDO for programs - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Program which adds UNDO for programs (/thread-4837.html) |
Program which adds UNDO for programs - xset - 09-30-2015 06:12 PM Hey This is semi-automatic UNDO (backup mechanism) Press Shift-USER B (B is button Mem) to Backup current version of current program (or last edited if u are not editing some program). Your current version will be stored to BACKUP 1. Press Shift-USER U (U is button 4) to Restore from BACKUP 1 or undo your previous restore (just in case) from BACKUP 2. So u can flip two versions (previous or saved) calling undo again and again. Note!!! that u will be thrown away from editor to programs catalog because it can't change text during editing. You can comment out lines with MSGBOX (at least in Backup code) to avoid pressing annoying OK. Code:
|