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 !
Post Reply
paulmansour
Posts: 431
Joined: Fri Oct 03, 2008 4:14 pm

Control Structures

Post by paulmansour »

Does any know what version of Dyalog APL introduced control structures?
User avatar
Fiona|Dyalog
Posts: 77
Joined: Mon Apr 22, 2013 12:59 pm

Re: Control Structures

Post by Fiona|Dyalog »

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
RichardP|Dyalog
Posts: 33
Joined: Fri Oct 12, 2018 3:05 pm

Re: Control Structures

Post by RichardP|Dyalog »

FYI, https://aplwiki.com/wiki/Dyalog_APL#Versions has a good amount of this type of information
paulmansour
Posts: 431
Joined: Fri Oct 03, 2008 4:14 pm

Re: Control Structures

Post by paulmansour »

Thanks all.

Interesting to see that dfns and control structures came along at almost the exact same time.
User avatar
ray
Posts: 238
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

Re: Control Structures

Post by ray »

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.
neeraj
Posts: 82
Joined: Wed Dec 02, 2009 12:10 am
Location: Ithaca, NY, USA

Re: Control Structures

Post by neeraj »

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.
Post Reply