From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,418b62f7e2d390d5 X-Google-Attributes: gid1164f8,public From: Dave Greenwood Subject: Re: VAX Fortran - "Encode" Statement Date: 2000/02/01 Message-ID: <3896F5B5.12B7200D@fed.ornl.gov>#1/1 X-Deja-AN: 580483214 Content-Transfer-Encoding: 7bit References: <389733B2.9B3E503D@bms.com> Organization: Oak Ridge National Lab. Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec Paul Roskos wrote: > > Hello, > > My company recently removed two DEC VAX computers from service, a > 6310 and 8810. The 8810 had a Fortran program that I need to > convert to a version of Fortran that runs on a PC. > > The program contains several statements of the form, > "ENCODE(1,10,File(4)) PASS(1)." Could anyone tell me what the > "Encode" statement does? > > Thanks very much for any help. > > -- > Paul Roskos Encode is equivalent to an internal write statement. Basically, the code is writing 1 byte of binary data from PASS(1) into File(4) using the format statement labelled 10. Dave -------------- Dave Greenwood Internet: Greenwoodde@ORNL.GOV Oak Ridge National Lab %STD-W-DISCLAIMER, I only speak for myself