🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3474

Re: Algol68

#3474
From: K P Donnelly
Date: Fri, 12 Apr 1991 11:34
24 lines
1394 bytes
I knew I had seen this question some where before:

>>>	union([]int , struct (int a, b, c)) fred = (1,2,3);

In the book "Algol68: a first and second course" by A.D.McGettrick, 1978,
exercise 10 (page 240) in chapter 7 is as follows:

     Does

        union ([]int, struct(int p,q,r))
  
     specify an acceptable united mode?  If so, is

        union ([]int, struct(int p,q,r)) z := (1,2,3)

     legal?  Give reasons for your answer.

This is the book I have most enjoyed reading of any book on computing I
have ever read.  At the time I read it, ten years ago, I had a good 
Algol68 compiler available to me and I naively thought that in a couple 
of years we would all be using Algol68 because it was so much better than
Fortran or anything else.  strcat("But ten ",strcat("years later"," ...")

  Kevin Donnelly
Technical Details
Message-ID: <9565@castle.ed.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!edcastle!yfcw14
References: <9168@castle.ed.ac.uk> <4202@zaphod.UUCP> <801@taniwha.UUCP> <4217@zaphod.UUCP> <809@taniwha.UUCP> <1991Apr08.235109.11628@ZYX.SE> <811@taniwha.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!edcastle!yfcw14
From: yfcw14@castle.ed.ac.uk (K P Donnelly)
Newsgroups: comp.lang.misc
Subject: Re: Algol68
Message-ID: <9565@castle.ed.ac.uk>
Date: 12 Apr 91 11:34:59 GMT
References: <9168@castle.ed.ac.uk> <4202@zaphod.UUCP> <801@taniwha.UUCP> <4217@zaphod.UUCP> <809@taniwha.UUCP> <1991Apr08.235109.11628@ZYX.SE> <811@taniwha.UUCP>
Organization: Edinburgh University
Lines: 24