Guest User

Untitled

a guest
Jan 17th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. program binaryexample
  2.  
  3. real*8 x
  4.  
  5. x=198.0
  6.  
  7. open(unit=10,file="integer.bin",form="unformatted")
  8. open(unit=11,file="real.bin",form="unformatted")
  9.  
  10. write(10) idint(x)
  11. write(11) x
  12.  
  13. close(10)
  14. close(11)
  15.  
  16. endprogram
Add Comment
Please, Sign In to add comment