Re: Newbie – Viewing FORTRAN output data on a Windows PC.
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Tue, 30 Oct 2007 20:20:22 -0700
David <dzb316@xxxxxxxxxxx> wrote:
2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2031 2E34 32
25 pairs = 1 field
I know that 30=0, 31=1, 32=2, 33=3…
Also 41=A, 42=B, 43=C, etc…
2E = decimal
20 = space
So the above 25 pair field = 1.42
All other pairs (, i.e. 2E, 3F, 79, etc…) get converted into
meaningless symbols, i.e. €?æÃÃ
I need some way to convert this output data to usable ASCII text.
The above stuff *IS* ASCII text. You are just looking at it in hex
instead of in ascii. As you note, the above is a bunch of blanks,
followed by a 1.42 in ASCII. As an aside, the 2E, 3F and 79 that you
mention are a decimal point, a question mark, and a "y".
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Prev by Date: Re: opening char variable data file
- Next by Date: Re: boot sector
- Previous by thread: Newbie – Viewing FORTRAN output data on a Windows PC.
- Next by thread: Re: boot sector
- Index(es):
Relevant Pages
|