Re: fns creation using libapl (c code)

2023-03-08 Thread enztec
Hi Jürgen thanks for the quick replies - i now have some free time the rest of today to do some more work on this you gave me some things to work with (ie things i didn't know before) i'll let you know what i come up with thanks enztec On Wed, 8 Mar 2023 20:27:43 +0100 Dr. Jürgen Sauermann

Re: Reassignment of a nested array element

2023-03-08 Thread Hans-Peter Sorge
Hello Jürgen, sorry that I'm so insistent in APL2 Programming:Language Reference it is stated: Selective Specification:Compress can be used for selective specification: M←32ρι6 M 12 34 56 (10/M)←'ABC' M A2 B4 C6 Using our example V V←1 'bc' M  V 1 bc   1 2    3 4    5 6 The se

Re: fns creation using libapl (c code)

2023-03-08 Thread Dr . Jürgen Sauermann
Hi enztec, the use of )COPY in libapl may depend on whether the workspace that is being copied was )SAVED or )DUMPED. The latter may use the ∇-editor which functions only if a proper I/O system is available. I can't say whether that is the

Re: fns creation using libapl (c code)

2023-03-08 Thread enztec
Hi Jürgen please go down the email On Wed, 8 Mar 2023 18:42:03 +0100 Dr. Jürgen Sauermann wrote: > Hi enztec, > > I don't quite understand what the actual problem is. > > I tested your files fns.c and fns.enz. > > Everything looks more or less fine, but I noticed e.g.: > if the folllowing

Re: fns creation using libapl (c code)

2023-03-08 Thread Dr . Jürgen Sauermann
Hi enztec, I don't quite understand what the actual problem is. I tested your files fns.c and fns.enz. Everything looks more or less fine, but I noticed e.g.: apl_exec("∇f1") which produces: SYNTAX ERROR+

Re: Reassignment of a nested array element

2023-03-08 Thread Dr . Jürgen Sauermann
Hi, I fixed a discrepancy between (3⊃V)← and  (1/3⊃V)←. SVN 1657. We know have:   V←1 'bc' (3 3⍴⍳9) ◊ 8 ⎕CR V ┌→─┐ │1 ┌→─┐ ┌→┐│ │  │bc│ ↓1 2 3││ │  └──┘ │4 5 6││ │   │7 8 9││