9p4
9p4 copied to clipboard
c@+ undefined
c@+ is used without being defined. it's pretty obvious what it's meant to do, especially with c!+ defined, but i thought you might want to tidy it up. c@+ is not present in Forth standard document DPANS94 nor in gforth.
@eekee thanks for the heads up!
DPANS94 indeed doesn't define c@+
. However, Gforth 0.7.3 does:
$ gforth -v; gforth -e '[IFDEF] c@+ ." defined" [ELSE] ." not defined" [THEN] cr bye'
gforth 0.7.3
defined
What version are you using?
Ah! Of course. I'm using 0.7.0, the last binary release for Windows (AFAIK). However, I'm giving up on it anyway as it has serious vocabulary bugs. I might try your code on latest Gforth a bit later, but I think I'll get more use from reading your code and maybe porting it to a non-standard Forth. Thanks!