Thank you for your patience.
I have a cursory understanding of Forth. An example of a Forth word on the DM42 would be [ DMS>] which takes a value in degrees . minuets and seconds and coverts to Decimal degrees. Forth type words created in the DM42 could later be used in programs.
Is i possible to create Forth type words?
Thank you,
william
Word concept from Forth applicable in DM 42
-
- Posts: 1107
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Word concept from Forth applicable in DM 42
Calling a subroutine with XEQ is like executing a Forth word, except Forth really requires an unlimited stack, and the four-level stack of the DM42 and other "classic" RPN calculators is way too small for that style of programming. The RPL calculators by Hewlett-Packard are a better match (i.e. the 28/48/49/50 series)... or wait for unlimited-stack support in Free42, which I'm working on at the moment, and which I assume will find its way into the DM42 as well in due course.