I have made some changes in my version and I don't see the problem.
Just for fun, though: would you put a space after the 9 in (eatchar) and
see if that makes the problem go away? If so, the problem will be fixed
in the next beta.
Henry Rich
On 11/2/2020 4:59 PM, John Baker wrote:
I've hit a serious bug in the handling of last characters in beta-j look at
what happens with:
eatchar=: 3 : 0
NB. beta-j eats noblank last chars in explicit defn
NB. write upload rate summary report - no blank after last 's'
r [ (toHOST r) write urp [ 9!:7 cchars
)
noeatchar=: 3 : 0
NB. write upload rate summary report - one blank after last 's'
r [ (toHOST r) write urp [ 9!:7 cchars
)
NB. look at
5!:5 <'eatchar'
5!:5 <'noeatchar'
It looks like the latest beta is dropping the last non-blank character of
explicit definitions. This will wreck mountains of code;
--
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