Post Reply 
200LX Desktop Emulator - Teaching an old horse ...
11-05-2016, 11:44 PM (This post was last modified: 11-05-2016 11:52 PM by Peter A. Gebhardt.)
Post: #1
200LX Desktop Emulator - Teaching an old horse ...
It's astounding which solutions become possible with the HP Desktop software Version 1.02.

The core of a solution to create a paper trail of results of solver equations - and further iterations in conjunction with Ubuntu 14.04 - is the (clever) combination of readily available commands to read an process the 'tcalc_xxx.prt' files created by consecutive ALT-->FILE->PRINT->DATA:

Code:
        diff --suppress-common-lines -w -b -y -W 200 $CAPTURE/tcalc_"$i".prt $CAPTURE/tcalc_"$j".prt | cut -b110-146 | sed 's/^ *//g' | awk '{printf ("%s\n", $0) }'| awk 'BEGIN{FS="=";}
        {printf("%s = %16s\n",$1, $2)}

Which produces the sample output:

Code:
Die nachfolgenden Iterationen dokumentieren alle Eingaben und Änderungen,
die das jeweilige Ergebnis beeinflussen. Unveränderte Werte sind den 
vorhergehenden Iterationen zu entnehmen.

Anfängliche Berechnung

#YRS  =            20.00
NOM%  =             6.00
PV    =       -10 000.00
PMT   =          -100.00
FV    =        77 648.70
#P    =            12.00
#C    =             1.00

Iteration 1 - Angezeigt werden nur geänderte Werte!

FV    =        77 427.99
T     =            30.00

Iteration 2 - Angezeigt werden nur geänderte Werte!

PMT   =          -300.00
FV    =        77 207.28
T     =            90.00
#P    =             4.00

The final output sample is in German (I've added a dictionary and a translation step), but I think you'll get the picture.

Best regards


Attached File(s) Thumbnail(s)
       
Visit this user's website Find all posts by this user
Quote this message in a reply
11-09-2016, 03:14 PM (This post was last modified: 05-21-2024 02:00 PM by Peter A. Gebhardt.)
Post: #2
RE: 200LX Desktop Emulator - Teaching an old horse ...
Addendum
------------

My environment is - "from in to out":

- HP 200LX Connectivity Pack 1.02 - Last release!
- (LINUX) https://github.com/ykhwong/dosbox-svn-da...t_linux.7z (DosBOX w/Print!) [as of May 21st, 2024]
- (WINDOWS) https://github.com/ykhwong/dosbox-svn-da...up_win.exe (DosBOX w/Print!) [as of May 21st, 2024]
- Ubuntu 14.04.5 32-bit
- Windows 10

Best regards
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)