HP Forums
How to set the GoTo Vars X and Y? - 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: How to set the GoTo Vars X and Y? (/thread-7589.html)



How to set the GoTo Vars X and Y? - DrD - 01-15-2017 05:12 PM

In the Advanced Graphing app, from a program or the command line, is there a way to set the Go To Vars X and Y?
For example, with the Advanced Graphing app as the current app, setting X:=any real number, does NOT change the X value in the Plot | Menu | Go To | X value. It seems to be a different instance of the variable X. Perhaps, it can't be accessed?

Looking for something like this (doesn't work):
Code:

N:=2;
EXPR("Advanced_Graphing.Go_To.X:=" + 'N');

Thanks,
-Dale-


RE: How to set the GoTo Vars X and Y? - Han - 01-16-2017 02:47 PM

(01-15-2017 05:12 PM)DrD Wrote:  In the Advanced Graphing app, from a program or the command line, is there a way to set the Go To Vars X and Y?
For example, with the Advanced Graphing app as the current app, setting X:=any real number, does NOT change the X value in the Plot | Menu | Go To | X value. It seems to be a different instance of the variable X. Perhaps, it can't be accessed?

Looking for something like this (doesn't work):
Code:

N:=2;
EXPR("Advanced_Graphing.Go_To.X:=" + 'N');

Thanks,
-Dale-

I suspect that there currently is no such user-accessible method for modifying those values. In the conn. kit, when clicking on an app, you can see which app variables are available for modification.


RE: How to set the GoTo Vars X and Y? - DrD - 01-16-2017 03:55 PM

Apps in general:

Is it, or was it ever, an intention to have interaction between the program environment and the app's? Maybe just a few of them, like the geometry and spreadsheet apps, etc.?

I may be messing around with something that really isn't ready for prime time. I'm not doing anything that necessarily requires the advanced graphing app, but I do want to include graphing as part of my project. The CAS plotxxxx commands are not suitable for my needs.


RE: How to set the GoTo Vars X and Y? - cyrille de brébisson - 01-17-2017 07:45 AM

Hello,

Programs (in the program catalog) were more imagined as repositories of math functions or exercises in algorithmic....

App programs were more designed to interact with the app that they belong to and provide more UI based interactions.

Cyrille


RE: How to set the GoTo Vars X and Y? - DrD - 01-17-2017 09:48 AM

Thanks for your explanation, Cyrille. I think I'm going to avoid using the apps outside of their own environment, for now, anyway.

-Dale-


RE: How to set the GoTo Vars X and Y? - cyrille de brébisson - 01-18-2017 06:25 AM

Hello,

That would be a good thing to do.

The system does let you do it (through fully qualified names)... but if a program interacts a lot with a specific app, it should, in most likelyhood, be an app program...

The original thought was that you would make a copy of the app and start writing the program for that app copy.

Cyrille