Re: fns creation using libapl (c code)

2023-03-07 Thread enztec
Thanks Jürgen, I'd like to keep the situation i gave in my post using the ')copy fns.enz' method as i do fns developement first in the apl ws then test it with apl scripting then to the libapl program and using the apl_exec method you gave would not be practicle. could you give it an analysis

Re: Reassignment of a nested array element

2023-03-07 Thread Hans-Peter Sorge
Hello Jürgen, Elias The difference I mention is in (1/3⊃V)←1 vs (3⊃V)←1 The second expression is the one discussed in the Mail. And I agree with your statement Jürgen that, even if not specified, your solution is correct. 3⊃V is the third elemnt in V and that is being set to 1. The first expr

Re: Reassignment of a nested array element

2023-03-07 Thread Elias Mårtenson
I think this is because monadic ⊃ is first in Dyalog, as opposed to disclose in GNU, APL2 (and, incidentally, KAP 😀). Use monadic ↑ instead to get the effect you want. Den ons 8 mars 2023 00:34Dr. Jürgen Sauermann skrev: > Hi Hans-Peter, > > I believe that GNU APL, Dyalog, and IBM APL2 only now

Re: Reassignment of a nested array element

2023-03-07 Thread Dr . Jürgen Sauermann
Hi Hans-Peter, I believe that GNU APL, Dyalog, and IBM APL2 only now behave the same while GNU APL did not before the fix: TryAPL Version 3.6.1 (enter ]State for details) Tue Mar 07 2023 16:59:04 Copyright (c) Dyalog Limited 1982-

Re: fns creation using libapl (c code)

2023-03-07 Thread Dr . Jürgen Sauermann
Hi enztec, see below. On 3/6/23 9:31 PM, enz...@gmx.com wrote: Hi it doesn't seem possible to create apl fns with apl_command or apl_exec directly using libapl This premiss seems wrong: #include // compile with: