TIME() in RPN Mode? - 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: TIME() in RPN Mode? (/thread-2469.html) |
TIME() in RPN Mode? - toml_12953 - 11-22-2014 07:32 AM I'm using TIME(program_name) to give the running time of programs but it only appears to work in Algebraic mode. In RPN mode, TIME only seems to give the current time. I've tried putting the program name on the stack but no luck. Is there a way to use TIME() while in RPN mode? RE: TIME() in RPN Mode? - Joe Horn - 11-22-2014 11:02 AM (11-22-2014 07:32 AM)toml_12953 Wrote: I'm using TIME(program_name) to give the running time of programs but it only appears to work in Algebraic mode. In RPN mode, TIME only seems to give the current time. I've tried putting the program name on the stack but no luck. Is there a way to use TIME() while in RPN mode? Use TIME(1) to time what's already on level 1 and tag the output with _s. Use time(1) to time what's already on level 1 but leave the output untagged. In general, use parentheses in RPN mode to specify how many stack levels to use for the input to the function. So to time the program called FRED, do this: 'FRED' Enter time(1) Enter RE: TIME() in RPN Mode? - Didier Lachieze - 11-22-2014 12:06 PM (11-22-2014 11:02 AM)Joe Horn Wrote: In general, use parentheses in RPN mode to specify how many stack levels to use for the input to the function. So to time the program called FRED, do this:But if your program uses parameters I don't know how it can take them from the stack, you have to pass them inside parentheses: 'FRED(1234)' ENTER TIME(1) ENTER |