HP Prime documentation - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: HP Prime documentation (/thread-256830.html) |
HP Prime documentation - Nate Martin - 11-23-2013 Is there any good source for the commands and functions of the HP Prime, including programming keywords and syntax? Or is the Prime just a toy due to lack of documentation?
I have been programming HP's for over 30 years (41C, 48GX, 50G) and I had high hopes for the Prime, but the only results I seem to get are syntax errors.
Re: HP Prime documentation - bluesun08 - 11-23-2013 The same old story ...
Re: HP Prime documentation - Thomas Chrapkiewicz - 11-23-2013 This should be plenty of information, no?: http://www.hpcalc.org/prime/docs/
TomC
Re: HP Prime documentation - Michael Carey - 11-24-2013 There is also the built in help.
Regards Michael Carey
Re: HP Prime documentation - LudgerP - 11-24-2013 Hallo, i think, most of the questions in this forum about the Prime are due to insufficient documentation. Ludger
Re: HP Prime documentation - Nate Martin - 11-24-2013 Both the user guide and the internal help function is very incomplete. I have been trying to refer to some older manuals and using trial and error to get the syntax correct...This is how hackers and hobbyists operate; but is in no way satisfactory for a commercial device to be used by professionals.
Does anyone know the implementation and syntax for a DDAYS or ATAN2 function for the Prime? I am currently brute forcing ATAN through 360* but I would like a cleaner implementation.
Re: HP Prime documentation - Tim Wessman - 11-24-2013 There are no date/time functions at the moment. Nor is there an ATAN2 type function.
Did I misunderstand something here in what you are asking?
Re: HP Prime documentation - Nate Martin - 11-24-2013 That is a good answer, but dang!
I was trying to implement some navigation calculations involving spherical navigation and orbital mechanics that will now require more brute force then otherwise.
Re: HP Prime documentation - Damien - 11-24-2013 Try these lines of code:
//------------------------------------------input parameters: 2 dates in HP Prime format for example:
D1= 1970.0609 (1970 june the ninth) gives 15874 days. Or you can read this: http://edspi31415.blogspot.fr/2013/11/hp-prime-programming-tutorial-6.html Regards, Damien
Edited: 24 Nov 2013, 6:20 p.m.
Re: HP Prime documentation - Nate Martin - 11-24-2013 Thank-you Damien. This afternoon I also wrote a J2000 day program that outputs to a user-variable JD2K EXPORT JDATE2K() BEGIN LOCAL JDY, JDM, JDD; LOCAL LDY, LDM, LDD, LD2K; LOCAL TDY, TDM, TDD, TD2K;
Date()▶TD2K; IP(TD2K)▶TDY; ((TD2K-TDY)*100)▶TD2K; IP(TD2K)▶TDM; IP((TD2K-TDM)*100)▶TDD;
Input(LDY, "Year", "Year = (yyyy)", "Enter Year", TDY); Input(LDM, "Month", "Month = (mm)", "Enter Month", TDM); Input(LDD, "Day", "Day = (dd)", "Enter Day", TDD);
//easier to reference 3/1/2000 and add 59 days for leap year handling LDD▶JDD; (LDM+9) MOD 12▶JDM; (LDY-2000) - IP(JDM/10)▶JDY; //reference to 2000AD JDY*365+IP(JDY/4)-IP(JDY/100)+IP(JDY/400)+IP(((JDM*306)+5)/10)+(JDD+59)▶JD2K;
Although it looks like the web page does not like unicode, the sto function is showing up as ▶
Re: HP Prime documentation - toml_12953 - 11-25-2013 Quote:
Since it's aimed at students and not professionals, it's not as big a problem as we think.
|