Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
85 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?
August Karlstrom's user avatar
0 votes
0 answers
41 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 ...
sloorush's user avatar
1 vote
1 answer
67 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 ...
sloorush's user avatar
2 votes
1 answer
65 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'...
RikedyP's user avatar
  • 733
1 vote
1 answer
63 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'...
userABC123's user avatar
  • 1,522
5 votes
1 answer
124 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 ...
Jeppe Stig Nielsen's user avatar
2 votes
1 answer
38 views

Dyalog APL: GUI full mode

When launching Dyalog APL, I don't have a complete interface. How do I get the familiar interface back? My Dyalog APL is in the screenshot below. stackoverflow does not allow my question: it writes ...
конструктор's user avatar
1 vote
1 answer
74 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' ...
justin2004's user avatar
2 votes
1 answer
65 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 ⎕...
T.P.'s user avatar
  • 177
2 votes
1 answer
49 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....
August Karlstrom's user avatar
2 votes
1 answer
57 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 :...
Zet Khrush's user avatar
1 vote
1 answer
35 views

Setting the vertical alignment of grid cells

Is there a way to align the top of the cell entries in a grid row when the cells contain text that spans more than one line? Example: Test 'F'⎕WC'Form' 'F.G'⎕WC'Grid'('Values'(1 2⍴('foo',[0.5]'bar')'...
August Karlstrom's user avatar
2 votes
1 answer
145 views

Dyalog APL Parser

I'm looking for a parser for Dyalog APL similar to aplparse, but one written either in APL itself or offered as part of the Dyalog engine. I'll be manipulating the AST in an APL program, which is why ...
Zet Khrush's user avatar
0 votes
1 answer
85 views

dyalog apl recognized idiom for `and` reduction

In Dyalog APL, could G be recognized as an idiom that evaluates to F since F is more efficient? In order to do that maybe the interpreter first needs to know if it has a boolean array argument? ...
justin2004's user avatar
1 vote
1 answer
95 views

Dyalog APL: How to filter an array like filter() but more weakness

How to change the solution from the answer to the question Dyalog APL: How to filter an array like filter() To: it performed an incomplete match search ignoring the case Original solution: ...
конструктор's user avatar

15 30 50 per page
1
2 3 4 5
13