HP Forums
Open Statistics from a program - 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: Open Statistics from a program (/thread-3489.html)



Open Statistics from a program - salvomic - 03-27-2015 03:33 PM

hi,
I need some help to open Statistics (1var or 2var) app from a program.

I'm trying:
Code:

EXPORT argo()
BEGIN
MSGBOX("My dog is hungry");
STARTAPP("Statistics 2Var);
STARTVIEW(2);
MSGBOX("Argo is here");
STARTVIEW(-1);
MSGBOX("The dog now sleeps");
END;

I found a few problem:
1. Sometimes after the program ending Prime (or Emulator) reset (also with "startapp" of Statistics 1Var). This happen especially if I move the graphic Zoom and so on)...
2. using Statistics 1var, when in Symb is set Histogram with D1 and D2 (as frequencies), I get sometimes an error H1 (i.e. if already they are data in D1, D2; Wight/Frequencies is < 0 or other errors), but this is a problem of Statistics 1Var, I think...

I would like to edit D1, D2 and so on, then return to the original program...
But doing so, every key or cursor movement close the view and returns to the program...

Please, help!

Salvo