Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Dave Greenwood <GreenwoodDE@fed.ornl.gov>
Subject: Re: VAX Fortran - "Encode" Statement
Date: 2000/02/01	[thread overview]
Message-ID: <3896F5B5.12B7200D@fed.ornl.gov> (raw)
In-Reply-To: 389733B2.9B3E503D@bms.com

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



  parent reply	other threads:[~2000-02-01  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-01  5:00 VAX Fortran - "Encode" Statement Paul Roskos
2000-02-01  5:00 ` Serguei Patchkovskii
2000-02-01  5:00 ` Steve Lionel
2000-02-01  5:00 ` Dave Greenwood [this message]
2000-02-02  5:00 ` Thanks for "Encode" Help Paul Roskos
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox