Free42: advanced Copy & Paste
|
04-22-2017, 08:31 PM
Post: #1
|
|||
|
|||
Free42: advanced Copy & Paste
Hi all,
I've spent the last several weeks completely re-writing Copy and Paste in Free42. In addition to supporting full precision for scalars, it now also copies and pastes matrices as spreadsheet cells (tab-delimited text), and programs as listings. This is fairly major new functionality, and it needs to be tested a bit more before I put it out there for general release. If anyone is interested in taking a peek, the latest builds are at http://thomasokken.com/free42/beta/. Comments and bug reports are of course welcome, but not required. :-) Thomas |
|||
04-22-2017, 09:21 PM
Post: #2
|
|||
|
|||
RE: Free42: advanced Copy & Paste
Nice work!
One question. Is there no way that one can create just a .txt as program and then import it in the free42? Because using perl to create a .raw is not always possible. In any case, very nice work. Wikis are great, Contribute :) |
|||
04-22-2017, 10:15 PM
Post: #3
|
|||
|
|||
RE: Free42: advanced Copy & Paste
If you have a program listing in a text file, you can open that file in a text editor, copy the program listing, and paste it into Free42. (Be sure to set it to PRGM mode before pasting.)
The idea is to make txt2raw redundant, by having its functionality integrated in Free42. If you want to import a program listing directly, without copying & pasting, that's not supported yet, but I'll probably add that at some point in the future. |
|||
04-23-2017, 02:57 PM
Post: #4
|
|||
|
|||
RE: Free42: advanced Copy & Paste
Hi Thomas,
Congratulations for your great job. I've tested some copy & paste cases and was not able to find any flaw yet. I'll study your 2.0 code, but I still have to go through 1.5.16 before. Here are some minor suggestions: 1) Remove the current program pointer when Copying a program? 2) Currently, pasting a program erases the current program, could there be some interest inserting instead? Best regards. Jean-Christophe |
|||
04-23-2017, 04:05 PM
(This post was last modified: 04-23-2017 05:03 PM by Thomas Okken.)
Post: #5
|
|||
|
|||
RE: Free42: advanced Copy & Paste
(04-23-2017 02:57 PM)jch Wrote: 1) Remove the current program pointer when Copying a program? 1) I think you're referring to the ▶ character that is inserted in front of all LBL instructions. That's authentic HP behavior, but I do think I should find a different character, or at least offer an option to leave it off, because that particular character gets interpreted as an emoji on iOS, and the result is pretty hideous. :-) 2) It doesn't erase the current program: it performs a [GTO] [.] [.] and then adds the pasted program at the end. UPDATE: The ▶ character that gets emojified in iOS is 'BLACK RIGHT-POINTING TRIANGLE' (U+25B6); it turns out that 'BLACK RIGHT-POINTING SMALL TRIANGLE' (U+25B8), which looks like ▸, gets left alone, *and* I think it looks a lot better in program listings. I'm changing the HP<->Unicode logic in Free42 accordingly. I am *also* updating the program listings I'm putting up at http://thomasokken.com/free42/42progs/ accordingly, and that means you won't be able to read them with the current build, because it doesn't recognize the ▸ character. Version 2.0.1 will have the fix. |
|||
04-23-2017, 06:54 PM
Post: #6
|
|||
|
|||
RE: Free42: advanced Copy & Paste
I just posted 2.0.1.
|
|||
04-27-2017, 02:40 AM
Post: #7
|
|||
|
|||
RE: Free42: advanced Copy & Paste
(04-23-2017 06:54 PM)Thomas Okken Wrote: I just posted 2.0.1. Thank you very much! Paste program test: Code:
That's Ron Knapp's PI program with a cleaner printout. Gerson. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)