Search found 44 matches

by Richard|Dyalog
Wed Apr 19, 2023 12:47 pm
Forum: macOS
Topic: External variables in dfns
Replies: 6
Views: 119960

Re: External variables in dfns

To expand a little on what has previously been said ... dfns implement Static Single Assignment (SSA) - every time a value is named using ← the name automatically shadows any previous value. Thus in this example: ⎕cr 'ros' ros←{ a←1 a←2 a } ros 0 2 a VALUE ERROR: Undefined name: a a ∧ the first assig ...
by Richard|Dyalog
Sun Feb 12, 2023 8:33 am
Forum: APL Chat
Topic: you.com
Replies: 4
Views: 22724

Re: you.com

That looks like it is quite closely paraphrasing Wikipedia: APL (named after the book A Programming Language)[3] is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. It uses a large range of special graphic symbols[4] to ...
by Richard|Dyalog
Fri Sep 17, 2021 10:33 am
Forum: Chat
Topic: Component Files and ⎕IO
Replies: 2
Views: 33379

Re: Component Files and ⎕IO

Component files exist outside of even a workspace (ties remain even if you )CLEAR ), so any kind of ⎕IO sensitivity is probably out of the question. Component numbers are mostly used as labels; their exact numerical value doesn't seem too relevant to me and I'm not sure I think it would add much u ...
by Richard|Dyalog
Thu Dec 19, 2019 5:03 pm
Forum: Language
Topic: JSON anomaly with ⎕DF Display Form
Replies: 3
Views: 8143

Re: JSON anomaly with ⎕DF Display Form

After some investigation I have elected not to patch the earlier versions. The potential to destabilise the current release has to be taken into account and compared against the severity of the issue being resolved - and in this case the fix is non-trivial and not easily back-ported, and the issue ...
by Richard|Dyalog
Mon Oct 21, 2019 4:51 pm
Forum: Language
Topic: JSON anomaly with ⎕DF Display Form
Replies: 3
Views: 8143

Re: JSON anomaly with ⎕DF Display Form

The namespace display form should not have been exposed by ⎕JSON at all. That has been fixed in the development interpreter (18.0) but not earlier versions; the reference for the fix is Mantis 16644.

I will reopen that issue to get the fix ported to all supported versions.
by Richard|Dyalog
Sun Oct 06, 2019 9:04 am
Forum: Announcements
Topic: Dyalog Version 17.1 is released
Replies: 3
Views: 8208

Re: Dyalog Version 17.1 is released

Not via the non-commercial download pages. 32-bit and Classic (non-Unicode) builds of the interpreter are legacy editions which are only available to users with a commercial licence. The exception is the Raspberry Pi version, which is only available as a 32-bit version.
by Richard|Dyalog
Fri Aug 16, 2019 2:06 pm
Forum: APL Chat
Topic: Redundant Variant
Replies: 2
Views: 5361

Re: Redundant Variant

It is deliberate, but I'll raise an issue to clarify the docs, and put in QA to ensure it remains so. The thinking behind variant is this: it takes a function and modifies it so that it has different properties - for example, ⎕JSON produces "compact" JSON when it exports APL data, but you can change ...
by Richard|Dyalog
Fri Jul 26, 2019 3:13 pm
Forum: APL Chat
Topic: APL FILES - can I reduce the bytes used?
Replies: 3
Views: 6899

Re: APL FILES - can I reduce the bytes used?

A couple more things to note: When you replaced your large components with small ones, the areas of the file originally occupied by the large components were "freed", and large unused gaps were left in the file. Although you did not see any immediate file size reduction, you could use ⎕FRESIZE to s ...
by Richard|Dyalog
Fri Jan 04, 2019 2:50 pm
Forum: APL Chat
Topic: Highlight all occurrences of a selected word
Replies: 2
Views: 5441

Re: Highlight all occurrences of a selected word

Thanks for the suggestion; I can confirm that 18.0 (due for release next year) will likely have this feature. It is under development and experimental so may not appear exactly in this form - or, even, at all - but the current behaviour is that when the cursor is over a name then all other ...
by Richard|Dyalog
Tue Nov 20, 2018 1:14 pm
Forum: APL Chat
Topic: Mon Nov 12 09:49:02 2018
Replies: 5
Views: 9593

Re: Mon Nov 12 09:49:02 2018

The format is the default of the standard C library date formatting functions:

http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html