How do I learn RPL and solve this problem with it?
|
09-24-2017, 03:21 PM
Post: #6
|
|||
|
|||
RE: How do I learn RPL and solve this problem with it?
So I am really interested by your problem, that for what I understood is not that "difficult" for a couple of terms but for many it starts to be a challenge.
As usual, a lot of data is challenging to process in limited time. So far I got "insufficient memory" (my 50g has 'only' 160 KB free in port 0) . I need to improve the algorithm because the search is too naive at the moment. Nevertheless, such problems are always a chance to learn the vast amount of possible commands that the 50g offers. So thanks for it! (and I wonder how many others I miss that were posted here) quick explanations nonetheless. First of all my workflow. I use a windows XP system to develop for calculators and embedded devices. What do I do? I have the 50g connected via USB. In notepad++ (using the "normal text language") I write my program. For this I create a duplicate of a template file and I call it with some name, like: mathDirMisc.txt The content at the start is this Code:
(yes I picked the template from debug4x mostly) Then I create a directory, because according to the topic I may have several programs. Even one program may be split in subprograms so a directory is a nice container for it. Code:
Then I insert what I need, normally a program, so it gets like Code:
Note the use of digraphs, that are the ASCII translation of some important symbols on the 50g. In particular you find details about them in the hp 50g AUR. See http://www.hpmuseum.org/forum/thread-9090.html With conn4x you can drag and drop the txt file on the calculator and it will be a valid directory afterwards. Then it comes the actual program that I was trying. Code:
but the search space is too large. So for now I have to think about something smarter. If you have questions about the simbols I used, ask! Asking is great to trigger possible explanations. Wikis are great, Contribute :) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)