HP PRIME - APP Programing question



#3

Hi,

If I create an applet "MyApp" then edit the program

EXPORT MyApp()
BEGIN
If I put some code here when will it be evaluated ?
What use can we do?
END;

START()
BEGIN
Evaluated at the beginning...
END;
....

Thanks for answers...


#4

Quote:
Hi,

If I create an applet "MyApp" then edit the program

EXPORT MyApp()
BEGIN
If I put some code here when will it be evaluated ?
What use can we do?
END;

START()
BEGIN
Evaluated at the beginning...
END;
....

Thanks for answers...


Regarding MyApp() -- it's just another function that can be used for whatever you want. It would only be evaluated when called either from the command line (like any other program) or from another program.


#5

Thanks Han for your answer.
In fact I have try to place code inside the BEGIN END block of the function APP.

EXPORT Function()
BEGIN
RETURN(2*5);
END;

Then launch Function from the command line... I have 10 in response... But the calculator freeze When I try to use APP key or when I try to access to function code with the program editor in order to remove the code... I have to use the reset hole...


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: =f(x):=expression in spreadsheet app CR Haeger 1 568 12-05-2013, 07:53 AM
Last Post: cyrille de Brébisson
  HP Prime Matrix TERRIBLE bug and question uklo 19 1,969 11-25-2013, 12:10 PM
Last Post: Mic
  HP PRIME: APP program code DISAPPEARS !! Joseph Ec 0 344 11-25-2013, 11:35 AM
Last Post: Joseph Ec
  HP prime: linear solver app Alberto Candel 1 488 11-21-2013, 01:57 AM
Last Post: Michael Carey
  HP Prime - vector question bluesun08 3 554 11-18-2013, 07:26 PM
Last Post: Han
  Question about transfering programs to the HP Prime Namir 10 1,213 11-17-2013, 04:01 PM
Last Post: Namir
  HP Prime: Linear Solver app bug BruceH 0 349 11-15-2013, 06:36 PM
Last Post: BruceH
  HP Prime - CAS functions in Spreadsheet App CR Haeger 6 941 11-11-2013, 12:37 AM
Last Post: Michael de Estrada
  HP Prime - Geometry App inconsistence bluesun08 4 667 11-10-2013, 01:48 PM
Last Post: parisse
  HP Prime - Geometry App Intersection bluesun08 2 486 11-10-2013, 07:52 AM
Last Post: bluesun08

Forum Jump: