Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!icdoc!iwm From: iwm@doc.ic.ac.uk (Ian Moor) Newsgroups: comp.lang.modula2 Subject: Missing from Modula-2 Message-ID: Date: 18 Jun 91 09:19:49 GMT Distribution: comp Organization: Department of Confusion, Imperial College, London UK Lines: 20 Nntp-Posting-Host: swan.doc.ic.ac.uk Why, if the function f returns a pointer can I not write: f(x)^.field := ... instead of: temporary := f(x); temporary^.field := ... o.k so the compiler has to allocate a temporary location. I notice that the DECWRL compiler will cope with this by the way. -- Ian W Moor Internet: iwm@doc.ic.ac.uk JANET: iwm@uk.ac.ic.doc Department of Computing, That which you call a crime when one man does it, Imperial College. you call government when done by many. 180 Queensgate London SW7 UK.