mikibelavista
Technical User
- Jan 18, 2012
- 32
I need this binary for other program,want to transfer my ascii values but
pr3.f: In program `pr3':
pr3.f:4:
real(nmax) a
1 2
Invalid kind at (2) for type at (1) -- unsupported or not permitted
pr3.f:5:
integer*2(nmax) b
^
Invalid form for type-declaration statement at (^)
pr3.f:4:
parameter(nmax=10)
1
pr3.f:7: (continued):
nmax=10
2
My code:
program pr3
include 'pch.par'
real(nmax) a
integer*2(nmax) b
nmax=10
open(36,file='pch.mod',form='unformatted')
b=a
write(36)b
end program
pch.par
parameter(nmax=10)
pr3.f: In program `pr3':
pr3.f:4:
real(nmax) a
1 2
Invalid kind at (2) for type at (1) -- unsupported or not permitted
pr3.f:5:
integer*2(nmax) b
^
Invalid form for type-declaration statement at (^)
pr3.f:4:
parameter(nmax=10)
1
pr3.f:7: (continued):
nmax=10
2
My code:
program pr3
include 'pch.par'
real(nmax) a
integer*2(nmax) b
nmax=10
open(36,file='pch.mod',form='unformatted')
b=a
write(36)b
end program
pch.par
parameter(nmax=10)