Post Reply 
startapp () question
01-09-2016, 03:33 PM
Post: #1
startapp () question
Is startapp (..) a "CALL" or a context switch?
I note there is no "endapp".

A program in MYAPP calls DOPLOT (..) repeatedly
to animate the plot:

DOPLOT (fun)
BEGIN
STARTAPP ("FUNCTION");
.....change Function F1:=fun
STARTVIEW (1,1);
WAIT (1);
STARTVIEW( "MYAPP");
END;


This all works fine but am I winding up some sort of stack or is this legitimate?

I work with android Prime only for now on my
Galaxy Tab Pro/Note 2
Find all posts by this user
Quote this message in a reply
01-11-2016, 05:52 AM
Post: #2
RE: startapp () question
Hello,

Startapp does just waht it says, it changes the current app. This exits the current view if the current view belong to the current app, and then it executes the initialization code of the newly started app.
This is not a "call". Which is why there is no end app (as there is always one active app).

Cyrille

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




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