OK, good, like I said, I saw that problem a couple of days ago & the fix will be in the next beta.  Thanks for checking.

The problem was in some code for formatting DDs, in the branch that looks for ( 9 : string ), and I didn't think any old code could be affected.  Wrong.

Henry Rich

On 11/2/2020 6:27 PM, John Baker wrote:
Henry,

Adding a space after "9" , ie 9!:7 becomes 9 !:7

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
)

"fixes"  the terminal character gobbling.

Engine: j902/j64avx2/windows

Beta-j: commercial/2020-10-29T18:47:00

Library: 9.02.06

Qt IDE: 1.8.7/5.12.7(5.12.7)

Platform: Win 64

Installer: J902 install

InstallPath: c:/j64/j902

Contact: www.jsoftware.com

On Mon, Nov 2, 2020 at 3:46 PM Henry Rich <[email protected]> wrote:

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




--
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

Reply via email to