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

Reply via email to