Post Reply 
Preserving highscores from accidental opening of program code
03-06-2023, 05:31 AM
Post: #3
RE: Preserving highscores from accidental opening of program code
(03-01-2023 11:01 PM)Kevin Ouellet Wrote:  Is there a way to make a program save a number into an external variable or memory without it being erased everytime the user opens the program code? This is problematic because all other calculator models use ENTER to execute programs, while the HP Prime uses F6, so if I have a game where the highscore is saved, then the player will usually press ENTER by reflex to launch the game, only to have not only the code opened instead but also his highscore erased.

I was also thinking of working on a role-playing game with saving options, but have been reluctant about starting such project at all because of the save data being erased over and over.

I believe in the new project structure you can have side variables and data that is kept on the side and not part of the source. Nor is it compiled. Basically, a place for data and binary info to reside without appearing in user editable areas normally.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Preserving highscores from accidental opening of program code - Tim Wessman - 03-06-2023 05:31 AM



User(s) browsing this thread: 1 Guest(s)