[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cset seems to override the next byte
From: |
hwj+gforth . gnu . org |
Subject: |
cset seems to override the next byte |
Date: |
Mon, 28 Dec 2020 11:11:43 +0100 |
Good morning,
"cset" in gforth seems to override the next byte:
$ gforth -e 'variable a 0 a ! 0x0101 a cset a @ .' -e bye
257
I know "cset" is not in the standard, but (given it's name) I didn't
expect this behaviour. Is it intended?
Regards,
HWJ
PS: Same snippet with PFE:
$ pfe -q -e 'variable a 0 a ! 0x0101 a cset a @ .' --bye
1
- cset seems to override the next byte,
hwj+gforth . gnu . org <=