On Sun, Feb 27, 2022 at 9:58 AM Raul Miller <[email protected]> wrote: > I think the cause here is that the memw code was not updated to cope > with virtual blocks. Prior to j901, that trailing 0 would have been > added to the character list when it was written to memory.
I should clarify: prior to J901, the trailing 0 would have been added to the memory holding the character array when memory was allocated. In other words, S=: 'abc' would allocate at least four bytes of memory and the byte at index 3 would be a zero. Virtual blocks mean that this can no longer be relied on. Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
