TIME() in RPN Mode?
|
11-22-2014, 07:32 AM
Post: #1
|
|||
|
|||
TIME() in RPN Mode?
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?
Tom L Cui bono? |
|||
11-22-2014, 11:02 AM
(This post was last modified: 11-22-2014 11:03 AM by Joe Horn.)
Post: #2
|
|||
|
|||
RE: TIME() in RPN Mode?
(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 <0|ΙΈ|0> -Joe- |
|||
11-22-2014, 12:06 PM
(This post was last modified: 11-22-2014 12:07 PM by Didier Lachieze.)
Post: #3
|
|||
|
|||
RE: TIME() in RPN Mode?
(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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)