View previous topic :: View next topic |
Author |
Message |
stfark1
Joined: 02 Sep 2008 Posts: 225
|
Posted: Mon Dec 03, 2018 1:12 am Post subject: Fortran Output Color |
|
|
Trying to create output from the Fortran run where the text is black and the background is white. Current default is background black, text white, too hard to read. Looked at the call winio routine defs but cannot seem to get the correct configuration, any ideas will help, Sid Kraft |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8061 Location: Salford, UK
|
Posted: Mon Dec 03, 2018 8:36 am Post subject: |
|
|
If you have a simple Fortran program using standard PRINT or WRITE statements (i.e. that does not use explicitly use ClearWin+) then you can put the WINAPP directive before the main program to get the effect that you want.
For example:
Code: | WINAPP
PROGRAM main
PRINT*, "Hello"
END |
There are come caveats but give it a try. |
|
Back to top |
|
|
|