forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fortran Output Color

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato
View previous topic :: View next topic  
Author Message
stfark1



Joined: 02 Sep 2008
Posts: 133

PostPosted: Mon Dec 03, 2018 1:12 am    Post subject: Fortran Output Color Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5606
Location: Salford, UK

PostPosted: Mon Dec 03, 2018 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group