The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

hp prime - command syntax
Message #1 Posted by bluesun08 on 9 Nov 2013, 10:39 a.m.

i'm interested in the "slope" command. After pressing the help-key the calculator show the following syntax:
slope(Line| |Pnt| |Cplx,[Pnt| |Cplx])
How can i read the symbols | [ ? What means that? How can i use the command? The example in the Help-menu is not very instructive for me.

      
Re: hp prime - command syntax
Message #2 Posted by Michael de Estrada on 9 Nov 2013, 11:01 a.m.,
in response to message #1 by bluesun08

The square brackets [] just mean that entry is optional. The Where symbol | is available in the Catlg list in the Toolbox.

            
Re: hp prime - command syntax
Message #3 Posted by Joe Horn on 9 Nov 2013, 11:42 a.m.,
in response to message #2 by Michael de Estrada

Quote:
The square brackets [] just mean that entry is optional. The Where symbol | is available in the Catlg list in the Toolbox.
"||" in a syntax is not the Where function (nor absolute value); it means "OR". Example:

row(Mtrx(A),Intg(n)||Interval(n1..n2))

means there are two options:

(1) row(Matrix, Integer)
(2) row(Matrix, Interval)

                  
Re: hp prime - command syntax
Message #4 Posted by Michael de Estrada on 9 Nov 2013, 12:02 p.m.,
in response to message #3 by Joe Horn

Thanks for the correction.

                        
Re: hp prime - command syntax
Message #5 Posted by bluesun08 on 9 Nov 2013, 2:28 p.m.,
in response to message #4 by Michael de Estrada

O.k. but now i have the next problem: When i imput "slope(line(y=2*x-3))" the calculator shows an error message. why?

                              
Re: hp prime - command syntax
Message #6 Posted by toml_12953 on 9 Nov 2013, 10:38 p.m.,
in response to message #5 by bluesun08

Have you tried it in CAS mode? it works for me.

Tom L

                                    
Re: hp prime - command syntax
Message #7 Posted by bluesun08 on 10 Nov 2013, 11:57 a.m.,
in response to message #6 by toml_12953

o.k. thank you. it works also for me in cas. But for heaven's sake (or what the hell) do i know if i can use an app function only in home-view or only in cas-view or in both views?


[ Return to Index | Top of Index ]

Go back to the main exhibit hall