View previous topic :: View next topic |
Author |
Message |
stfark1
Joined: 02 Sep 2008 Posts: 222
|
Posted: Sun Apr 19, 2020 4:56 pm Post subject: Execution Background |
|
|
During the Fortran program execution, the default back ground and text is black with white text. I would like to reverse this and make the background white with black text. Any suggestions? Sid Kraft |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Sun Apr 19, 2020 7:50 pm Post subject: |
|
|
Sid,
Use the WINAPP directive?
Eddie |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Mon Apr 20, 2020 8:23 am Post subject: |
|
|
If you have a simple Fortran program that does not use ClearWin+ then you will probably be running it as a "console" application.
Adding the WINAPP directive to the start of the code will change it to a "windows" application with the desired effect. This will be OK for output results but may not work for reading data from what was previously the console.
A console or "DOS box" or "Command prompt window" has its own properties (including background and text colour) which can be changed under program control but it would be quite tricky to do that. |
|
Back to top |
|
|
|