395 questions
0
votes
1
answer
110
views
Missing window title when minimizing child window in Dyalog APL
This is a continuation from Unpredictable behavior when minimizing application child windows in Windows 11.
The following program in Dyalog APL creates a window which opens a child window when a ...
Advice
2
votes
4
replies
101
views
How can I do OCR with APL program listings?
How can I do OCR with APL program listings?
I have ancient printouts of code printed with an IBM 2741 and/or Diablo typewheel, pretty close to the APL385 font.
I tried a number of the free online ...
2
votes
1
answer
139
views
Regenerate covariance matrix with less WSSIZE used in APL
I have a covariance matrix(4500*4500). WSSIZE in my installation approx 1.5 Gb.
But for simplification, let's say it:
covm←0.5×((5 5⍴⍳25)+⍉(5 5⍴⍳25))
Also, I vector rfikv←101 102 103 104 105 (in my ...
2
votes
1
answer
93
views
Why does output of modified assignment return the value on the right and not the value of the variable?
a
0
a×←5
a
0
(a×←5)
5
a
0
(⎕←a×←5)
5
5
Why does having braces(or a ⎕←) over a modified assignment change the result but the variable is set correctly. I am not able to ...
-1
votes
1
answer
172
views
Change Excel spreadsheet by modifying underlying XML files
I'm trying to edit a spreadsheet by diving into its underlying XML files after I read the XLSX file as a ZipArchive.
It's for a work project where we're trying to get rid of Excel running in the ...
0
votes
1
answer
108
views
Setting a minimum size for a GUI object in Dyalog APL
Is there a way to specify a minimum size for e.g. a window created with 'F'⎕WC'Form' so that I can resize the window but not make it smaller than a certain size?
1
vote
1
answer
78
views
Is there a way to standardise formatting in an APL Project?
I want to write a file like eslint.js file which has a standard like tab=4spaces etc.
The problem I am essentially having is that if someone uses the IDE or their own way of formatting, a lot of ...
1
vote
1
answer
102
views
Why does ⎕DIV not affect Matrix divide (⌹)?
With ⎕DIV←1, dividing by 0 does not give an error but gives a 0 every time.
When dividing by 0, ⌹ (quad divide) seems to always throw a domain error even with ⎕DIV←1.
Is there a reason why the value ...
3
votes
1
answer
102
views
Can I set ]Box and ]Rows settings for new installations of Dyalog?
Sometimes I install a new version of Dyalog and I have to re-set my ]Box and ]Rows settings.
]box on -fns=on
]rows on -fns=on -fold=3
I know I can set these and then save the session file, but I can'...
1
vote
1
answer
96
views
Find locations of substrings within a string
I'm trying to find the locations of substrings within a string. Here, I can find the location of the first length-3 string ('DEF') within the larger string:
⍸(3,/'DEFGHI') ⍷ 3,/'ABCDEFGHIJKLMNOP'...
5
votes
1
answer
221
views
Dyalog APL does sum `+/` from the wrong end, violating the specification
Of course, many functions f are not associative in the sense that a f(b f c) (which is often just written a f b f c in APL) is not always the same as (a f b)f c. This is also the case when f is ...
1
vote
1
answer
132
views
APL selective assignment with commute
Selective assignment (with replicate on the left) works as expected:
d←'bob'
(1 0 0/d)←'B'
d
Bob
But the same thing (though expressed with a commute) does not:
d←'bob'
(d/⍨1 0 0)←'B'
...
2
votes
1
answer
145
views
New dll in Dyalog APL
Is it possible to use a new dll in Dyalog APL? I can use the existing dll's just by setting ⎕USING, but this does not work if I download a new dll. Simply copying the dll in the directory and calling ⎕...
2
votes
1
answer
83
views
Showing a window resize grip
A simple window created with 'F'⎕WC'Form' can be resized by the user but there is no resize grip in the lower right corner. If we add a status bar with 'F.SB'⎕WC'StatusBar', however, the grip is shown....
2
votes
1
answer
94
views
How to Import an APL namespace?
Let's say I have the following namespace in the APL file F.apln:
:Namespace F
foo←{...}
:Endnamespace
I want to import this namespace in another namespace and use it. For example:
IMPORT F
:...