Path: 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> <812@taniwha.UUCP> Organization: Computer General Electronic Design, Bath, U.K. Lines: 21 paul@taniwha.UUCP (Paul Campbell) writes: >In article 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