New to RPL; Please critique this working sample. Thanks.
|
09-14-2016, 09:40 AM
(This post was last modified: 09-14-2016 10:03 AM by wojtek.)
Post: #2
|
|||
|
|||
RE: New to RPL; Please critique this working sample. Thanks.
Small improvement to reduce number of << >>
Code:
0 in the beginning puts 0 on the stack so you can declare all local variables in the first line. So if you enter 1 1 2000 and then run the code you get 2451545 as JD. EVAL is not needed after 1st expression but is necessary after 2nd and 3rd because you modify variables y and m from these expressions. You would get faster code if you would convert it to RPN |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
New to RPL; Please critique this working sample. Thanks. - Nick - 09-14-2016, 05:56 AM
RE: New to RPL; Please critique this working sample. Thanks. - wojtek - 09-14-2016 09:40 AM
RE: New to RPL; Please critique this working sample. Thanks. - Nick - 09-14-2016, 10:37 PM
RE: New to RPL; Please critique this working sample. Thanks. - DavidM - 09-14-2016, 02:12 PM
RE: New to RPL; Please critique this working sample. Thanks. - Philippe - 09-14-2016, 09:51 PM
RE: New to RPL; Please critique this working sample. Thanks. - Nick - 09-14-2016, 11:59 PM
|
User(s) browsing this thread: 1 Guest(s)