06/17/2014
WRITE
-----------------------------------------------------------------------------
example 1:
! convert a integer to a string.
program test
Integer:: I
Character(len=10):: str
I = 9999
Write( str, '(I10)' ) I
print *, str
End
PRINT
---------------------------------------------------------------------------
No comments:
Post a Comment