replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - GL Graphics 2
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 

GL Graphics 2

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



Joined: 02 Sep 2008
Posts: 247

PostPosted: Wed Aug 20, 2025 6:25 pm    Post subject: GL Graphics 2 Reply with quote

Using OpenGL to output graphics in a window as defined below,
i=winio@('%es%ca[Simple OpenGL Example]&')

Am wondering if there is a command, maybe in the "winio@" library, to close the window and revert back to regular coding. I would like to close the window and do regular Fortran i/O but the window stays resident and cannot see the Fortran I/O data. Sid Kraft
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Aug 21, 2025 6:33 am    Post subject: Reply with quote

The format code %lw enables you to keep a window open whilst doing other things. The window can be closed by setting an associated integer control to zero. See the help on ClearWin+ for further details.

integer ctrl
iw = winio@("%lw",ctrl)

If this is not the last winio@ call for this window then you must add an ampersand...
iw = winio@("%lw&",ctrl)

To close set...
ctrl = 0
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit 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