From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: VAX Fortran - "Encode" Statement
Date: 2000/02/01 [thread overview]
Message-ID: <877ep9$ca8$1@nserve1.acs.ucalgary.ca> (raw)
In-Reply-To: 389733B2.9B3E503D@bms.com
Paul Roskos (paul.roskos@bms.com) wrote:
: The program contains several statements of the form,
: "ENCODE(1,10,File(4)) PASS(1)." Could anyone tell me what the
: "Encode" statement does?
ENCODE() certainly predates VAXen; I used it on PDP-11s with pre-77
Fortran - so your code is *really* old. ENCODE is basically equivalent
to internal formatted WRITE(), which didn't exist in those times.
One of the arguments will be FORMAT label, another one will be the
output location, but the exact order of those and the meaning of the
third parameter escapes me after all this time ...
Regards,
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
next prev 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 [this message]
2000-02-01 5:00 ` Steve Lionel
2000-02-01 5:00 ` Dave Greenwood
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