jsforth icon indicating copy to clipboard operation
jsforth copied to clipboard

word . not working well

Open Lecrapouille opened this issue 6 years ago • 1 comments

Try this code, it is not working (Firefox 52):

42 FOO .

and will print <ok> instead of 84 <ok> while this code works:

42 FOO
.

and will print 84 <ok>

With the same idea:

42 FOO . .

will not produce a stack underflow.

Still the same idea: 42 DUP . . will only consume and display 1 element

Lecrapouille avatar Sep 03 '18 19:09 Lecrapouille

Hey, I know this issue is 4 years old, but I think the pull request I just submitted would fix this problem. . works just fine in 0.2. check it out.

TheGeekOnSkates avatar Feb 05 '23 01:02 TheGeekOnSkates