12-20-2014, 11:41 AM
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
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
12-20-2014, 05:10 PM
Thanks for your quick answers. That was exactly what I was looking for.
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.
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
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
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.
The TI Nspire's amputed Lua implements an "API level" scheme.
02-23-2015, 07:33 PM
I cannot get TEVAL to work, BUT Time will return the time.