Path: utzoo!utgpu!attcan!uunet!ficc!jbush
From: jbush@ficc.uu.net (james bush)
Newsgroups: comp.lang.fortran
Subject: Re: ENCODE and DECODE ...
Message-ID: <5657@ficc.uu.net>
Date: 11 Aug 89 16:47:19 GMT
References: <1989Aug10.220842.18863@bpdsun1.uucp>
Organization: Ferranti International Controls
Lines: 20

In article <1989Aug10.220842.18863@bpdsun1.uucp>, jrw@bpdsun1.uucp (Jon Wahlmann) writes:
> 
> I have come across the ENCODE and DECODE key words in a few of the programs
> ...
>                      ENCODE(7,43,DUMMY1)DUMMY2
> 
> How would I form the equivalent with READ?

I think (though I am not positive about the format of the encode)
that it would be 

                        READ(DUMMY1, 43)DUMMY2

The 7, I believe, is the size of DUMMY1.  It is not needed any more in the
read.
-- 
James Bush,Ferranti,Houston      Know the truth, not what everyone else believes
"... the Lord that formed me *from the womb* to be His servant ..." Isa 49:5
Internal: jbush,5230, mail A/3204, room A/3602 External: ..!uunet!ficc!jbush
All opinions are my own, and do not represent those of my employer.