View previous topic :: View next topic |
Author |
Message |
khoshravan
Joined: 03 Dec 2012 Posts: 31
|
Posted: Mon Dec 03, 2012 4:22 pm Post subject: Where is the RUN button |
|
|
I am very new to this forum and this is my first post. I had learned FORTRAN about 25 years ago and now I want to return to FORTRAN again.
I have downloaded SilverFrost FTN95 Express compiler together with MS Visual Studio.
My OS is Windows XP.
I copy/pasted a simple program from following site:
http://www.fortrantutorial.com
to VS New Project and tried to run it. The only place I find is: Debug/Start Debugging to show some result but the C prompt screen vanished rapidly.
I couldn't find a RUN button to execute the program. Where is it?
BTW I also downloaded FTN95 Guidebook from SilverFrost site but its extension is chm. Don't they have PDF formats? With what program can I open chm extension?
BR
Khoshravan |
|
Back to top |
|
 |
khoshravan
Joined: 03 Dec 2012 Posts: 31
|
Posted: Mon Dec 03, 2012 5:49 pm Post subject: |
|
|
Through the FTN Help, I learned about project, solution Explorer tab and build button in its right click to compile and get a exe file.
In order to become familiar I follow the instructions in the help for building a simple program.
Now my problem is that, after clicking the "build" button in the Solution Express tab, a C prompt windows appear and a commercial windows of SilverFrost appears but it doesn't show results and very soon it diminishes and return to SilverFrost FTN95 Express windows.
How can I keep the C prompt windows stay there and see the results?
As I am new and little bit in hurry, your input will help a lot.
BR
Khoshravan |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Mon Dec 03, 2012 8:26 pm Post subject: |
|
|
You can add a PAUSE statement after the output has been written or just read in something from the keyboard at that point.
If you use the Plato IDE (released with FTN95) instead of Visual Studion then the DOS box will remain open until you press the RETURN key. From what you say, this is not the case with Visual Studio Express. |
|
Back to top |
|
 |
khoshravan
Joined: 03 Dec 2012 Posts: 31
|
Posted: Tue Dec 04, 2012 4:00 am Post subject: Re: |
|
|
PaulLaidler wrote: | You can add a PAUSE statement after the output has been written or just read in something from the keyboard at that point.
If you use the Plato IDE (released with FTN95) instead of Visual Studion then the DOS box will remain open until you press the RETURN key. From what you say, this is not the case with Visual Studio Express. |
Thanks
I think it will be better to write the output into a file so that I can have them for long.
With my present configuration with FTN95 Express, can I install Plato as well? Don't they confront each other? |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2924 Location: South Pole, Antarctica
|
Posted: Tue Dec 04, 2012 4:06 am Post subject: |
|
|
Paul, can you guys at Silverfrost make few YouTube videos for the first timers "Running simple program with DOS Prompt, Plato and VS" ? This is the most important step to get loyal followers.
Then nice to show other great features of compiler. Hire good student girl for that like for example iFixit did http://www.ifixit.com/Teardown/iPad+3+4G+Teardown/8277/1
I am sure even not the first timers don't know the full potential of this compiler |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Tue Dec 04, 2012 9:18 am Post subject: |
|
|
You can use Visual Studio alongside Plato. They are designed to use common project files (*.ftn95p).
Dan, Thanks for the suggestion. There are already one or two introductions to Plato on YouTube provided by third parties but there is scope for more. |
|
Back to top |
|
 |
khoshravan
Joined: 03 Dec 2012 Posts: 31
|
Posted: Tue Dec 11, 2012 7:41 am Post subject: Re: Where is the RUN button |
|
|
[quote="khoshravan"]
I couldn't find a RUN button to execute the program. Where is it?
[/quote]
What I was looking for, is Build/Build Solution command or Ctr+Shift+B
This command will run the code.
Have the perception from old time, I was looking for a "RUN" command. |
|
Back to top |
|
 |
|