This is an android-specific crash. It's a stack error, and the Android
stack is prickly.
0 $: y
is an instant infinite recursion. You wanted 0 u foo v y .
Henry Rich
On 5/11/2022 4:16 PM, Jan-Pieter Jacobs wrote:
I'm sending this to beta, but it also happens in J903:
the following (attempt to a) ambivalent conjunction reliably crashes J on
android (64 bit):
foo=: 2 : 0
0$: y
:
x+y
)
+foo- 10 NB. + - are just for the sake of having arguments.
What does work fine is the dyadic application of the same:
10 +foo- 5
15
JVERSION
Engine: j903/j64/android
Release-a: commercial/2022-01-08T13:48:15
Library: 9.03.08
J Android: 1.4.17/12/31
Platform: Android 64 (arm64-v8a)
Installer: unknown
InstallPath: /storage/emulated/0/Android/data/com.jsoftware.j.android/files
Contact: www.jsoftware.com
and
JVERSION
Engine: j904/j64/android
Beta-c: commercial/2022-05-01T16:34:32
Library: 9.04.01
J Android: 1.4.20/12/31
Platform: Android 64 (arm64-v8a)
Installer: unknown
InstallPath:
/storage/emulated/0/Android/data/com.jsoftware.j.beta.android/files
Contact: www.jsoftware.com
Likely my use of $: is off, but it shouldn't crash, no?
Jan-Pieter
----------------------------------------------------------------------
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