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 

Keep more print output

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



Joined: 04 Feb 2015
Posts: 19

PostPosted: Tue Mar 31, 2015 12:52 am    Post subject: Keep more print output Reply with quote

I am outputting some results using print *, - there seems to be a limit of only around 300 lines that the dos-like output box will show. Is there a way to increase that to (say) 1,000 lines? Thanks
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Tue Mar 31, 2015 12:58 am    Post subject: Reply with quote

This is a cmd.exe issue.
Right click on the top title band of the dos box, select properties then layout. Change the screen buffer height.

Alternatively run your program to a file and look at the file when complete, using:
program.exe > output
notepad output

You need to learn about redirecting using > >> and <

John
Back to top
View user's profile Send private message
Wilfried Linder



Joined: 14 Nov 2007
Posts: 314
Location: Düsseldorf, Germany

PostPosted: Tue Mar 31, 2015 8:19 am    Post subject: Reply with quote

Or write

Code:
out = create_window@('Info',100,100,700,500)
call open_to_window@(6,out)

before beginning with the output, use

Code:
write(6,...)


for the output, and

Code:
call destroy_window@(out)

at the end of your (sub-)program. "out" is an integer*4 variable.

Wilfried
Back to top
View user's profile Send private message
ognik



Joined: 04 Feb 2015
Posts: 19

PostPosted: Tue Jun 09, 2015 3:03 am    Post subject: not notified Reply with quote

Hi John, a belated thanks for your advice, which was great & all I needed. Belated because I didn't get an email notification. If there is an issue could someone let me know? Either way if someone replies I will check back here ....
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 -> General 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