(INTEGER/REAL) to (CHARACTER) conversion
From: Kurda Yon (kurdayon_at_yahoo.com)
Date: 04/28/04
- Next message: Dave Seaman: "Re: How to get address of an array"
- Previous message: TimC: "Re: Announcement : gnuplotfortran"
- Next in thread: Jugoslav Dujic: "Re: (INTEGER/REAL) to (CHARACTER) conversion"
- Reply: Jugoslav Dujic: "Re: (INTEGER/REAL) to (CHARACTER) conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Apr 2004 06:15:46 -0700
Hi,
pleas tel me if you know how one can convert integer or real number
into character. I do it in the following way:
program p1
integer :: A_int=120
character(len=10) :: A_char
character(len=100) file
open(10,file="temp.txt")
write(10,*) A_int
close(10)
open(10,file="temp.txt")
read(10) A_char
close(10)
end program p1
:)
Is there another possibility?
- Next message: Dave Seaman: "Re: How to get address of an array"
- Previous message: TimC: "Re: Announcement : gnuplotfortran"
- Next in thread: Jugoslav Dujic: "Re: (INTEGER/REAL) to (CHARACTER) conversion"
- Reply: Jugoslav Dujic: "Re: (INTEGER/REAL) to (CHARACTER) conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]