Article View: comp.lang.misc
Article #3479Re: Algol68
From: Andy Pryor
Date: Fri, 12 Apr 1991 08:25
Date: Fri, 12 Apr 1991 08:25
21 lines
1256 bytes
1256 bytes
paul@taniwha.UUCP (Paul Campbell) writes:
>In article <chl.671105965@m1> chl@cs.man.ac.uk (Charles Lindsey) writes:
>>In <809@taniwha.UUCP> paul@taniwha.UUCP (Paul Campbell) writes:
>>
>>> union([]int , struct (int a, b, c)) fred = (1,2,3);
>>
>(coercing displays etc) it all seemed to make sense.
>So how do you initialise a union with a row display?? Do you have to put
>it in a temporary variable first?? ugh
Surely, all you need is a cast?
union([]int , struct (int a, b, c)) fred = [] int (1,2,3);
--
Andy Pryor
Computer General Electronic Design Ltd, Email: aap@cged.co.uk
The New Church, Henry St, Bath, BA1 1JR, UK Phone: +44 225 482744
Technical Details
Message-ID:
<1991Apr12.082526.6391@cged.co.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!pyrltd!root44!praxis!cged!aapReferences:
<9168@castle.ed.ac.uk> <4202@zaphod.UUCP> <801@taniwha.UUCP> <4217@zaphod.UUCP> <809@taniwha.UUCP> <chl.671105965@m1> <812@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!wuarchive!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!pyrltd!root44!praxis!cged!aap From: aap@cged.co.uk (Andy Pryor) Newsgroups: comp.lang.misc Subject: Re: Algol68 Message-ID: <1991Apr12.082526.6391@cged.co.uk> Date: 12 Apr 91 08:25:26 GMT References: <9168@castle.ed.ac.uk> <4202@zaphod.UUCP> <801@taniwha.UUCP> <4217@zaphod.UUCP> <809@taniwha.UUCP> <chl.671105965@m1> <812@taniwha.UUCP> Organization: Computer General Electronic Design, Bath, U.K. Lines: 21