HP Forums
I need help! - 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: I need help! (/thread-3940.html)

I need help! - Marcel - 05-21-2015 10:27 PM

I have to enter a lot of DATA in the Prime for a astronomy application. I will use the AVars() command to make the data available for many program in the app.
Can you please check on your side if this is OK.
If I create a variable with AVars() and after that if I make a backup, the restore command do not restore the variable..
I do this on virtual and Prime and this is always the same.
If this is the same for you, can you tell me...
Since yesterday, nobody respond to me...


RE: I need help! - Tim Wessman - 05-21-2015 10:39 PM

I just tested:

FOR A FROM 0 TO 10 DO AVars("Name"+A):=A; END

This created my variables. I then dragged that application in the connkit to my files. It copied it fine.

I then reset the emulator. I then dragged the application back to send it. It sent. AVars listed all the variables.

I then tried doing a complete backup and restore. That also seemed to work fine.

Please describe your steps in "I make a backup".

RE: I need help! - Marcel - 05-21-2015 10:45 PM

First: Thank you

I connect to the connkit, I click on the tab with the name of my prime and after that I right click and choose backup. After that I quit (close all the connkit and calculator). After I reconnect click on the name and right click to choose restore. If I go and check on the calculator, the variable are not there...
(I speak french so I make mistake sorry..)

RE: I need help! - Tim Wessman - 05-21-2015 10:58 PM

Can you please email your backup or application you feel is not restoring?

timwessman hp.com

RE: I need help! - Marcel - 05-21-2015 11:05 PM

I will email you the compress file..
The application's name is AstroLab and I just enter some Data but I stop when I discover this thing...
Thank you.
(If you wish, you can go on the forum of Mathematica to see AstroLab.nb. I do this last summer and this summer I will do the same for the Prime.)
My name is Marcel Pelletier.

RE: I need help! - Tim Wessman - 05-21-2015 11:29 PM


It looks like what is actually happening is you've named you application using a . in the name. That will cause problems since the calculator uses . for doing full qualification of variables or functions - eg: Solve.CHECK or similar. It is blocking the app from being loaded because the name is invalid.

If you rename "Prime Astro Lab 4.0" to just "Prime Astro Lab 4" then everything seems to work fine. I will need to throw up some additional warnings somewhere it seems.

RE: I need help! - Marcel - 05-22-2015 12:51 AM

Thank you Tim, all work fine now.