better apl array coding

2021-06-14 Thread enztec
hello i've been using this looping for array work but there has to be a better apl way of coding the indexing of the ar array any suggestions ∇rs←lp;a;b;ar;i 'lp' 'ar' +ar←4 4⍴11 12 13 14 21 22 23 24 31 32 33 34 41 42 43 44 'a ' +a←1 2 3 4 4 3 2 1 'b ' +b←1 2 3 4 4 3 2 1 i←1 rs←⍴0 sp: rs←rs,ar

Re: ending/stopping a script

2021-06-14 Thread enztec
Hi every scripting language has a simple way to end script execution using code that 'reflects' the nature of the language's syntax - thus bash - exit python - exit php - exit perl - exit i thought as tempting as it is to use →/→0 to end a script would be nice - their use probably should be lef

Re: ending/stopping a script

2021-06-14 Thread Dr . Jürgen Sauermann
Hi, actually N ⎕STOP B sets onr otr more breakpoints on line(s) N in the defined function named B and it returns the current stop vector of the functions. In my example, the breakpoint is only reached if the dummy function STOP (you can choose a different name if you prefer) is being called (in