Control Structures

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

Control Structures

Postby paulmansour on Mon Aug 02, 2021 5:21 pm

Does any know what version of Dyalog APL introduced control structures?
Posts: 390
Joined: Fri Oct 03, 2008 4:14 pm

Re: Control Structures

Postby Fiona|Dyalog on Tue Aug 03, 2021 8:21 am

Hi Paul

I'm reasonably sure* that the first control structures (:If/:Then/:Else, :Repeat/:Until) were introduced in v8.1 (released March 1997). They've been added to since then – I think that the most recent addition was :Disposable in v14.1 (released June 2015).

*Geoff had a look in the code base but I did find other references to control structures possibly being introduced in 1995, which would be v7.1)

Thanks. Fi
User avatar
Posts: 61
Joined: Mon Apr 22, 2013 12:59 pm

Re: Control Structures

Postby RichardP|Dyalog on Tue Aug 03, 2021 9:17 am

FYI, has a good amount of this type of information
Posts: 16
Joined: Fri Oct 12, 2018 3:05 pm

Re: Control Structures

Postby paulmansour on Tue Aug 03, 2021 2:23 pm

Thanks all.

Interesting to see that dfns and control structures came along at almost the exact same time.
Posts: 390
Joined: Fri Oct 03, 2008 4:14 pm

Re: Control Structures

Postby ray on Tue Aug 03, 2021 10:23 pm

I have a copy of Dyalog 7.4.3 currently running at this very moment on an old laptop with control structures.

Version 7 and 8 were(as far as the syntax) the same, version 7 was for Windows 3.1 and 8 for Win 95.

I am sure my copy of Dyalog APL for DOS/386 (serial No. 000168)bought in Feb 1991, did not.

Note: According to Dyalog at 25, version 8.1 introduced :Trap
Ray Cannon
Please excuse any smelling pisstakes.
User avatar
Posts: 192
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: Control Structures

Postby neeraj on Wed Aug 04, 2021 5:15 am

In 1995 John Scholes and Pete Donnelly visited SunGard Capital Markets in Philadelphia. In the meeting they were told that Dyalog would have to implement Control Structures and that they would have to be identical to APL*2000's (for SunGard to use Dyalog), following which Dyalog implemented the control structures. As an aside, SunGard never converted because Yaron Avitov was unhappy with the ODBC fucnctionality that was included with Dyalog.
Posts: 82
Joined: Wed Dec 02, 2009 12:10 am
Location: Ithaca, NY, USA

Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest