What's the best way to enter hex values in df? I am used to using $12 for example in Gforth. Anything similar?
Thanks! I like dragon forth so far. Only problem I'm having is building df from Forth, but it is a problem of getting the right versions of all the tools, paths, etc... I figure if I can build it then I create patches for the project as I find problems... mostly so far it has just been trivial spelling issues (the most annoying being "successfully" on load of dfcons is spelled wrong...)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What's the best way to enter hex values in df? I am used to using $12 for example in Gforth. Anything similar?
Thanks! I like dragon forth so far. Only problem I'm having is building df from Forth, but it is a problem of getting the right versions of all the tools, paths, etc... I figure if I can build it then I create patches for the project as I find problems... mostly so far it has just been trivial spelling issues (the most annoying being "successfully" on load of dfcons is spelled wrong...)
You could try this :
: $ base @ >r bl parse hex evaluate r> base ! ;
which then make
$ a .
10
But you can also just enter value prefixed with 0x
0xa .
10
Cheers,
M'Fu