question: output window 
Author Message
 question: output window

Hi;
when i run this program, the output window disappears
immidiately. How can i tell it hold the outout window till i press
a key?. Then the window can disappear.
borland Pascal;windows NT
J

program test;
var i: integer;
For i:=1 to 5 do
begin
  writeln(i);
  if i=5 then writeln('Finished !');
end.

--
Sent by  from yahoo in  field com
This is a spam protected message. Please answer with reference header.
Posted via http://www.*-*-*.com/



Sun, 08 Aug 2004 08:37:25 GMT  
 question: output window
On Wed, 20 Feb 2002 00:37:25 GMT,

Quote:

>Hi;
>when i run this program, the output window disappears
>immidiately. How can i tell it hold the outout window till i press
>a key?. Then the window can disappear.
>borland pascal;windows NT

If you are running it from the BP IDE, ALT-F5 will show the final
output screen.


Sun, 08 Aug 2004 08:58:05 GMT  
 question: output window

Quote:

> On Wed, 20 Feb 2002 00:37:25 GMT,

>>Hi;
>>when i run this program, the output window disappears
>>immidiately. How can i tell it hold the outout window till i press
>>a key?. Then the window can disappear.
>>borland pascal;windows NT

> If you are running it from the BP IDE, ALT-F5 will show the final
> output screen.

or put a readln at the end of the program. enter will kill the window
then...


Mon, 09 Aug 2004 00:44:47 GMT  
 question: output window

Quote:
> when i run this program, the output window disappears
> immidiately. How can i tell it hold the outout window till i press
> a key?. Then the window can disappear.
> borland pascal;windows NT
> J

> program test;
> var i: integer;
> For i:=1 to 5 do
> begin
>   writeln(i);
>   if i=5 then writeln('Finished !');

    ReadLn; {wait for [Enter]}

Quote:
> end.

  Or "Uses Crt; {$X+}" and "ReadKey; {wait for any key}"

--
   Varjonov Konstantin       varkos^mail.ru      http://ghsrl.newmail.ru



Mon, 09 Aug 2004 03:38:55 GMT  
 question: output window
 program test;
     var i: integer;
 begin
 For i:=1 to 5 do
     writeln(i);
 writeln('Finished !');
 readln;
 end.



Quote:
> Hi;
> when i run this program, the output window disappears
> immidiately. How can i tell it hold the outout window till i press
> a key?. Then the window can disappear.
> borland pascal;windows NT
> J

> program test;
> var i: integer;
> For i:=1 to 5 do
> begin
>   writeln(i);
>   if i=5 then writeln('Finished !');
> end.

> --
> Sent by  from yahoo in  field com
> This is a spam protected message. Please answer with reference header.
> Posted via http://www.usenet-replayer.com/cgi/content/new



Sat, 28 Aug 2004 23:50:43 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Send the output screen to the printer, Turbo Pascal for Windows

2. Printing the output in Turbo Pascal for Windows 1.5

3. Printing output from tpfor Windows, HELP!

4. Capturing Display output in windows.

5. Capturing DOS output in windows

6. printing output windows

7. Output formatting Question

8. Redirecting all output - interrupt handler question

9. Output formatting Question

10. reading binary file and outputting to standard output (screen)

11. TPW 1.5 - WINDOW SIZE -1024 x 768 Question

12. Questions: CRT of Turbo Pascal for Windows 1.5

 

 
Powered by phpBB® Forum Software