- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With my present experience, when results of a code are written into command prompt screen (using write (*,*) form
It disappears right after last result.
In order to keep them there, I put following command at the end
Read(*,*) which means the code expecting for an input from command line therefore command prompt screen stays there.
This is not a wise method. What is the best way to handle this issue?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's the simplest method. You are seeing the normal behavior of a console application in Windows that is not run itself from a console window.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page