Little explorations with HP calculators (no Prime)
|
10-17-2017, 04:46 PM
Post: #235
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
Some news about the userRPL user defined language for notepad++ (once again, if someone has a more complete version, please let me know).
It helps quite a bit note the variables, have to be called lvname to be highlighted. I hope to adjust it later for newRPL as well, since the newRPL desktop version can import text files. (I will include it also in the next torrent release, then you can give me feedback if you want) I used it to test a solution to a micro problem that was since long time in my todo list. One has processes that print on the console and locks. One should define the different processes in a way that they coordinate to print the wanted pattern even if the execution is randomly picking between the two processes. So the basic is to have the process A and the process B (or 1 and 2) and to print 1,2,1,2,1,2 etc.. This gets more complicated if the pattern to produce is more complicated and there are more processes involved. For the moment, though, I am happy that I was able to find a way to test it on the hp 50g. Below the first working solution. Of course, from real problem solving - especially if one is not that good like me - new questions arise so I am going to ask the following: To "pack" a command to be executed I discovered the following method: "statements" OBJ\-> instead of the more verbose \<< statements \>> (note that with a text expander like fastKeys on windows - aText on mac - one could produce \<< \>> quite quickly with shortcuts) Do you know any other way? In particular could be possible to pack and entire program in a string or block of some type and then execute it in "pieces" in a proper way? Code:
Wikis are great, Contribute :) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)