Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Fortran 4 crash when call Write(*, *)

Fortran 4 crash when call Write(*, *)

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andraw111
    wrote on last edited by
    #1

    Hi, dear all, I don't where should I put my Fortran question, so I put it here. I have a program created 15 years ago by Fortran 4. They only have source files (.for) but didn't have workspace. I create a new project workspace in Fortran 4 and can compile it, but when I try to print project name on screen by calling Write(*, *), I get access violation error, but if I write to a file by calling Write(2,*), it works fine. since I didn't have original workspace, I don't know what setting should I set to make it work. Does anybody know what's the problem? Thank you very much

    D 1 Reply Last reply
    0
    • A Andraw111

      Hi, dear all, I don't where should I put my Fortran question, so I put it here. I have a program created 15 years ago by Fortran 4. They only have source files (.for) but didn't have workspace. I create a new project workspace in Fortran 4 and can compile it, but when I try to print project name on screen by calling Write(*, *), I get access violation error, but if I write to a file by calling Write(2,*), it works fine. since I didn't have original workspace, I don't know what setting should I set to make it work. Does anybody know what's the problem? Thank you very much

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Andraw111 wrote:

      I don't where should I put my Fortran question, so I put it here.

      Have you tried here?

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups