Dear J,

A recursive verb that does not stop calling itself will eventually cause a
stack error.

   F =: 3 : 'if. y=0 do. 999 else. F y-1 end.'
   F 10
999
   F _10
|stack error: F
|       F y-1

The above is from jconsole. The surprise is: when I try this in jqt, it
crashes - unfortunately also with less trivial examples.

I'm using the latest J and upgraded all packages, including Qt ide.

   JVERSION
Engine: j901/j64avx2/linux
Release-c: commercial/2020-01-11T10:41:20
Library: 9.01.20
Platform: Linux 64
Installer: J901 install
InstallPath: /home/ben/j901
Contact: www.jsoftware.com

Greetings,
Ben
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to