Unexpected emit Behaviour

John PH <[email protected]> Fri, 28 Feb 2020 18:26:30 +0000
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <[email protected]>
Hello,

Thanks for your great work with gforth.


I found when use emit with gforth 0.7.9_20200227 under android 9, on my 
Samsung tablet and my Samsung phone, if the value I am "emitting" is 
between 255 and 128 there is an extra 1 left on the stack afterwards. It 
behaves as I would expect between 0 and 127.


Doing the same thing on Ubuntu 18.04 gforth 0.7.9_20200227 always leaves 
nothing on the stack for all values between 255 and 0. This is what I 
would expect.


The Android behaviour not what I was expecting and wonder if it is a bug.


Typing:

128 emit


... should show the issue.


Thank you,


John