... and in Windows,
   JVERSION
Engine: j901/j64avx/windows
Release-a: commercial/2019-12-12T14:41:50
Library: 9.01.18
Qt IDE: 1.8.2/5.12.2
Platform: Win 64
Installer: J901 install
InstallPath: c:/d/j901
Contact: www.jsoftware.com

Following Robert's example,
   #. 0$4    NB. "ok!"
0
   #. 0$0
J hangs here for a few seconds, then crashes.

It didn't crash at all with #. 0$4,  in a new session of J:
   #. 0$4
0
   #. 0$4
0
   #. 0$4
0
   #. 0$4
0
   ts'#. 0$4'
1.8e_6 1856
   100 ts'#. 0$4'   NB. even this!:
1.42e_6 1856

Cheers,

Mike


On 19/12/2019 07:43, 'robert therriault' via Programming wrote:
My experience is slightly different.

     JVERSION
Engine: j901/j64avx2/darwin
Release-a: commercial/2019-12-12T16:29:25
Library: 9.01.18
Qt IDE: 1.8.3/5.12.3
Platform: Darwin 64
Installer: J901 install
InstallPath: /users/bobtherriault/j901
Contact: www.jsoftware.com
    #. 0$4
0
    #. 0$0
0
    #. 0$4
0
    #. 0$0
0
    #. 0$4

The last line consistently crashes J with the third repetition  of #. 0$4

One other quirk is that in the Jqt environment on my Mac, selecting a series of 
lines creates a solid blue background (expected) then when clicking on a new 
line the blue background disappears behind the j sentence but remains on the 
rest of line to the right. Resizing the window removes the blue background. 
Probably a repainting issue.

Cheers, bob

On Dec 18, 2019, at 9:00 PM, Ben Gorte <bgo...@gmail.com> wrote:

Hi J,

Base 2 on an empty array gives 0 , which I guess makes sense:
    #.  ''  NB. array with no characters
0
    #. 0$12 NB. no integers
0
    #. 0$0 NB. no booleans

... the last one crashes my jqt-session however - as does for example:

   #. 3 }. 1 0 1

JVERSION

Engine: j901/j64avx2/linux

Release-a: commercial/2019-12-12T12:44:48

Library: 9.01.16

Qt IDE: 1.8.1/5.5.1

Platform: Linux 64

Installer: J901 install

InstallPath: /home/ben/j901

Contact: www.jsoftware.com


It was ok in J807.


Workaround is simple:


2&#. 0$0

0




Grtz

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

Reply via email to