User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Legacy and Other Languages section within the Software Development category of DaniWeb, a massive community of 373,108 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,634 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Legacy and Other Languages advertiser:
Views: 721 | Replies: 4
Reply
Join Date: Apr 2008
Posts: 41
Reputation: bstylez is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
bstylez's Avatar
bstylez bstylez is offline Offline
Light Poster

Simple QBASIC question.... ?

  #1  
Apr 28th, 2008
If a person composes a short program and hit's F5 or "run" the output will fit on the viewers screen.

I have composed a long program for homework purposes, and once I hit F5 or "run" I do not see the WHOLE program output. Only the bottom half. By hitting ANY button at that point, QBASIC redirects you back to the editing screen. In this case - How do I scroll though my screens output?
"Never make someone a priority when all you are to them is an option"
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,552
Reputation: niek_e is a jewel in the rough niek_e is a jewel in the rough niek_e is a jewel in the rough niek_e is a jewel in the rough 
Rep Power: 8
Solved Threads: 154
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: Simple QBASIC question.... ?

  #2  
Apr 29th, 2008
You could 'pipe' the output to a text file:

yourprogram.exe > output.txt

Now all the output you had, will be in the txt-file
Last edited by niek_e : Apr 29th, 2008 at 3:06 am.
"= != =="

PM's asking for help will be ignored..
Reply With Quote  
Join Date: Apr 2008
Posts: 41
Reputation: bstylez is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
bstylez's Avatar
bstylez bstylez is offline Offline
Light Poster

Re: Simple QBASIC question.... ?

  #3  
Apr 29th, 2008
Originally Posted by niek_e View Post
You could 'pipe' the output to a text file:

yourprogram.exe > output.txt

Now all the output you had, will be in the txt-file



But there should be a way to view it without leaving the program interface... right?
"Never make someone a priority when all you are to them is an option"
Reply With Quote  
Join Date: Aug 2006
Location: me::house
Posts: 902
Reputation: linux is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 22
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: Simple QBASIC question.... ?

  #4  
May 17th, 2008
Yeah. Do it like in chunks. That would be the easy way out.

PRINT "As many lines as fits minus 2"
INPUT "Press Enter To Continue"
PRINT "More lines"
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote  
Join Date: Apr 2008
Posts: 41
Reputation: bstylez is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
bstylez's Avatar
bstylez bstylez is offline Offline
Light Poster

Re: Simple QBASIC question.... ?

  #5  
May 17th, 2008
I don't think that will work as you think. Its a little complicated, but since you seem to know Basic, do you mind I f I send you the program? Then you could show me where you think I would insert that language, as I show you why it might not work... yes/No?
"Never make someone a priority when all you are to them is an option"
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Legacy and Other Languages Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Legacy and Other Languages Forum

All times are GMT -4. The time now is 5:23 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC