I have the following 8-byte integer defined as follows:
integer*8 :: strINT = 0
And an allocatable string defined using
character(:), allocatable :: str
str = "9876543210"
I'm trying to set the strINT variable using the read function
read(str,*) strINT
However, this gives the following...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.