HOW TO stop output flash by

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
MONNA

HOW TO stop output flash by

Post by MONNA »

When you make a program with several outputs and if you have no printer available is it possible to block data on screen long enough to let you the time to note answers?In other words how it is possible to stop at one moment the screen or to conduct outputs to successive pages you could consult as you like?
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Eh? Can you be a lil more clear? Maybe post some source? :wink:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

I got it.

You could pause the program + write carp to it: do this to pause it:

Code: Select all

DO: LOOP WHILE INKEY$ = ""
That'll pause it 'till you press a key.

Or you could output to a file the data.
do this to output to a text file:

Code: Select all

OPEN "filename.txt" FOR OUTPUT AS #1
  PRINT #1, -put in here like you would a normal print statement-
CLOSE #1
There you go! :D
"But...It was so beutifully done"
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Post by sid6.7 »

depending on how much output you expect you could use
sleep 1
sleep 2

between prints...

i would use above puase function
Post Reply