Silverfrost Forums

Welcome to our forums

Execution Background

19 Apr 2020 3:56 #25244

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

19 Apr 2020 6:50 #25246

Sid,

Use the WINAPP directive?

Eddie

20 Apr 2020 7:23 #25251

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.

Please login to reply.