HP Forums
(Rev. 6975) Where is TIME? - 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: (Rev. 6975) Where is TIME? (/thread-2671.html)



(Rev. 6975) Where is TIME? - owitte - 12-20-2014 11:41 AM

In the december 2014 update (6975) the TIME function is missing. Only "TICKS" is still available. Where can I find the TIME function?


RE: (Rev. 6975) Where is TIME? - slawek39 - 12-20-2014 12:08 PM

(12-20-2014 11:41 AM)owitte Wrote:  In the december 2014 update (6975) the TIME function is missing. Only "TICKS" is still available. Where can I find the TIME function?

TIME was renamed to TEVAL


RE: (Rev. 6975) Where is TIME? - Tim Wessman - 12-20-2014 03:25 PM

(12-20-2014 11:41 AM)owitte Wrote:  In the december 2014 update (6975) the TIME function is missing. Only "TICKS" is still available. Where can I find the TIME function?

If you are looking for the system time, then use the system variable "Time". The problem really stemmed from an earlier decision to overload TIME (which was meant for timing) to also return system time if no input was given. In the last revision we renamed TIME to TEVAL as stated already.

Both Time and Date (the system settings) appear in the Vars->Home->System


RE: (Rev. 6975) Where is TIME? - owitte - 12-20-2014 05:10 PM

Thanks for your quick answers. That was exactly what I was looking for.


RE: (Rev. 6975) Where is TIME? - Kevin Ouellet - 12-22-2014 03:46 AM

THe issue with those command name changes is that everytime a new firmware does it, we need to update our old HP PPL programs to run on the new firmware. So when the author moves on from calculator programming and stops updating his programs the programs requires the user to downgrade.


RE: (Rev. 6975) Where is TIME? - timetraveller - 12-22-2014 01:46 PM

Just an idea.

Might be handy to add a comment to each program indicating which release it has been written for.

Something like:

//Written for firmware release 6975.

Bill


RE: (Rev. 6975) Where is TIME? - debrouxl - 12-22-2014 04:35 PM

Comments are nice indeed. I think it would be even better to have some versioning mechanisms built in the PPL.
The TI Nspire's amputed Lua implements an "API level" scheme.


RE: (Rev. 6975) Where is TIME? - RGWv - 02-23-2015 07:33 PM

I cannot get TEVAL to work, BUT Time will return the time.


RE: (Rev. 6975) Where is TIME? - Han - 02-23-2015 07:40 PM

(02-23-2015 07:33 PM)RGWv Wrote:  I cannot get TEVAL to work, BUT Time will return the time.

How are you calling TEVAL? In Home or CAS?