Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!edinburgh.ac.uk!R.J.Hare From: R.J.Hare@edinburgh.ac.uk Newsgroups: comp.lang.icon Subject: Records Message-ID: <28.May.91..17:32:28.bst..060196@EMAS-A> Date: 28 May 91 16:32:28 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 24 I'm just about to start writing my first program which uses records. Question, can I write a record straight to a file without separating the fields - like this: record line(a,b,c,d) procedure(main) . . output_line:=line(w,x,y,z) write(file,output_line) . . or do I have to do it a field at a time: . every i := 1 to 4 do write(file,output_line[i]) . Any advice appreciated. Thanks. Roger Hare.