I thought 'eatchar' was the one that was losing a character. Wherever
the error is: please see if adding the space after the 9 fixes it.
Henry rich
On 11/2/2020 5:40 PM, Joey K Tuttle wrote:
using 9 !: didn't seem to change anything for me.
JVERSION
Engine: j902/j64avx2/darwin
Beta-j: commercial/2020-10-29T16:26:56
Library: 9.02.06
Platform: Darwin 64
Installer: J902 install
InstallPath: /applications/j902
Contact: www.jsoftware.com
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'
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
)
5!:5 <'noeatchar'
3 : 0
NB. write upload rate summary report - one blank after last 's'
r [ (toHOST r) write urp [ 9!:7 cchar
)
On 2020Nov 2, at 14:32, Henry Rich <[email protected]> wrote:
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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm