Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!julius.cs.uiuc.edu!wuarchive!uunet!munnari.oz.au!uniwa!vax7!tgumleyle From: Gumley_LE@cc.curtin.edu.au (Liam Gumley) Newsgroups: comp.lang.fortran Subject: Re: EQUIVALENCE or STRUCTURE/RECORD - SOLVED! Message-ID: <6700.278df246@cc.curtin.edu.au> Date: 11 Jan 91 09:13:41 GMT References: <6683.278c85d2@cc.curtin.edu.au> Organization: Curtin University of Technology Lines: 41 In article <6683.278c85d2@cc.curtin.edu.au>, Gumley_LE@cc.curtin.edu.au (Liam Gumley) writes: The problem turned out to be fairly easy to solve, once someone explained it to me. The program should be structured thus program thingy byte buffer(100) . . . subroutine whatsit( buffer ) structure / something / integer*2 dummy integer*4 data(0:80) end structure record / something / buffer item = buffer.data( 0 ) . . . You can now access the data in buffer properly as the array 'buffer.data'. Thanks to those who took the time to respond (even though someone here explained it to me....). Cheers, Liam. -- Gumley_LE@cc.curtin.edu.au #Liam E. Gumley, Department of Applied Physics, Curtin University of Technology# #Perth, Western Australia. >>>All opinions expressed are exclusively mine.<<<#