Thanks. I have fixed the code (which looked like it was copying an
extra garbage atom from the string instead of appending 0, just as you
surmised). I also updated NuVoc to describe what the functions actually do.
Henry Rich
On 2/27/2022 10:08 AM, Raul Miller wrote:
https://code.jsoftware.com/wiki/Vocabulary/Foreigns#m15
includes the text:
"count must equal the number of atoms in (,x), except that if
precision=2, count may be one more, to cause a zero byte to be
appended."
But by inspection we can see that a zero byte is not being appended.
Thanks,
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm