HP Forums

Full Version: Is there a way to exit the Terminal display under program control?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Under program control, I need to exit the Terminal display after some PRINT lines.

Not PRINT(); but exit the display.

Thanks in advance for any help.
Have you tried holding ON+T ?
Hi,

your question is not that easy to answer as long as you haven't defined to where you want to exit to. You may have a look at the STARTVIEW(n) command. N is an integer starting at 0. I've experimented with a short test program:

EXPORT TermTst()
BEGIN
Print ("Test");
Getkey;
Startview(0);
END;
and varied n from 0 to 9 ending up in different views like e.g. setup view, etc. but it seems it is depending from where you started. Starting from the Home View of the Function app resulted in setup or plot view but starting from the spreadsheet app e.g. only produced an orange exclmation mark instead of changing the view.

Alas, the users manual seems to not say anything about this topic. Maybe Tim can sched some light so that experimenting is replaced by knowledge.

Best regards

Karl
(01-21-2014 06:20 AM)veeblefester Wrote: [ -> ]Under program control, I need to exit the Terminal display after some PRINT lines.

Not PRINT(); but exit the display.

Thanks in advance for any help.

You could try two STARTVIEWs

I.e.

STARTVIEW(−8,1);
STARTVIEW(−1,1);

Cheers, Terje
Thanks for the feedback guys.

Unfortunately none of these offerings exits the Terminal display under program control.

Need a line(s) that simply exits the Terminal display and displays whatever/wherever before the PRINT line(s).
(01-21-2014 07:27 AM)Karl-Ludwig Butte Wrote: [ -> ]Alas, the users manual seems to not say anything about this topic. Maybe Tim can sched some light so that experimenting is replaced by knowledge.

??????

Page 482 or about there in the "STARTVIEW" command. Same will be found in the built in help on the calculator.

As to why it doesn't go there... that means that view doesn't exist.

Quote:Syntax: STARTVIEW(n [,draw?])
Starts the nth view of the current app. If draw? is true (that is, not 0), it will force an immediate redrawing of the screen for that view.
The view numbers (n) are as follows:
Symbolic:0
Plot:1
Numeric:2
Symbolic Setup:3
Plot Setup:4
Numeric Setup:5
App Info: 6
Views Menu:7
First special view (Split Screen Plot Detail):8 Second special view (Split Screen Plot Table):9 Third special view (Autoscale):10
Fourth special view (Decimal):11
Fifth special view (Integer):12
Sixth special view (Trig):13
The special views in parentheses refer to the Function app, and may differ in other apps. The number of a special view corresponds to its position in the Views menu for that app. The first special view is launched by
STARTVIEW
482
Programming
Integer
STARTVIEW(8), the second with STARTVIEW(9), and so on.
You can also launch views that are not specific to an app by specifying a value for n that is less than 0:
HomeScreen:-1
Home Modes:-2
Memory Manager:-3
Applications Library:-4
Matrix Catalog:-5
List Catalog:-6
Program Catalog:-7
Notes Catalog:-8
Hi Tim,

thanks for your advise. I noticed a difference in the pagecount: You wrote page 482 has the info in the users manual. I actually found it on page 546 in the July edition. Is there a newer version of the users manual?

Alas, veeblefester is right: STARTVIEW() doesn't solve his problem. Is there any command which simply exits the terminal mode and displays whatever was on the screen before?

I'm missing another function related to the PRINT command: One cannot specify the row and column where the expression should be printed. This would be an acceptable compromise for the also missing INFORM comand (see another post by me in this section of the forum).

Best regards

Karl
That was problably a much older one. I've got a few versions on the computer and I really should go through and delete all the old ones... :-|
Reference URL's