9p4 icon indicating copy to clipboard operation
9p4 copied to clipboard

c@+ undefined

Open eekee opened this issue 5 years ago • 2 comments

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 avatar Oct 02 '19 13:10 eekee

@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?

iru- avatar Oct 03 '19 18:10 iru-

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!

eekee avatar Oct 07 '19 10:10 eekee