HP Forums

Full Version: (Rev. 6975) Where is TIME?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the december 2014 update (6975) the TIME function is missing. Only "TICKS" is still available. Where can I find the TIME function?
(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
(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
Thanks for your quick answers. That was exactly what I was looking for.
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.
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
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.
I cannot get TEVAL to work, BUT Time will return the time.
(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?
Reference URL's