DB48X: HP48-like RPL implementation for DM42
|
10-02-2024, 06:27 PM
Post: #326
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
Still whatever was wrong with my state file, it is still interesting that this error only happened with 1100 / 2.2
I also tried 1000/2.2 ; 900/2.2; 1200/2.2; 1100/2 and all return expected results. only 1100/2.2 gave a weird display result. by means of elimination, the error is on the NoTrailingDecimal line. below is the test state file which was giving error: « Depth →List 2 « ÷ x⁻¹ 2 ↑ 1 - » DoSubs Object→ Drop 4 FixedDisplay » 'Draft' STO « → a b « 4 FixedDisplay if b 1 < then a 1 b - ÷ "SP" →Tag else a b b a - b ÷ "Margin" →Tag b a - "Contribution" →Tag end » » 'Margin' STO « → i o « if o 0 > then o i ÷ x² 1 - o else i o 1 + √ i × end » » 'Reduction' STO NoTrailingDecimal 4 Fix 4 DisplayDigits Dec NumberDotOrComma 8 WordSize HomeDirectory |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: Jase, 16 Guest(s)