Post Reply 
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DB48X v0.4.8 is out - c3d - 10-22-2023, 11:31 PM
Release v0.5.0: Statistics and flags - c3d - 11-20-2023, 08:57 AM
v0.6.5: Minor bug fixes - c3d - 02-11-2024, 11:23 PM
Release 0.7.1 "Whip" - Bug fixes - c3d - 03-04-2024, 12:46 AM
DB48X v0.7.4 release is out - c3d - 04-14-2024, 03:05 PM
DB48X v0.7.6: Solving menu - c3d - 05-13-2024, 12:04 AM
DB48X v0.7.7: Units in solver - c3d - 06-02-2024, 11:36 PM
v0.7.10 - Interactive stack - c3d - 07-14-2024, 11:31 PM
DB48X v0.7.13 is out - c3d - 08-05-2024, 07:31 AM
DB48X v0.7.15 - c3d - 08-25-2024, 08:45 PM
DB48X v0.7.16 - c3d - 09-02-2024, 01:36 AM
DOSUBS command - grbrum - 09-04-2024, 03:37 PM
v0.7.18 - APPLY, SUBST, WHERE - c3d - 09-15-2024, 11:58 PM
Program Editing Question - spiff72 - 09-16-2024, 03:27 PM
press 2 simultaneous buttons? - grbrum - 09-30-2024, 09:01 PM
RE: DB48X: HP48-like RPL implementation for DM42 - grbrum - 10-02-2024 06:27 PM
CST Custom Menu - grbrum - 10-04-2024, 05:00 AM
v0.8.2: Assignments, Custom menu - c3d - 10-21-2024, 05:49 AM



User(s) browsing this thread: Jase, 16 Guest(s)