Solved

suspend a output

Posted on 1997-05-21
3
221 Views
Last Modified: 2010-04-16
Is it possible to suspend a output to screen just using
following:

var ch : char;

begin
write('press any key to continue...');
read(ch);
end.

if not, what is the correct way? thx
0
Comment
Question by:ping072497
  • 2
3 Comments
 

Accepted Solution

by:
PFranz earned 50 total points
ID: 1215340
I usually use

var ch:char;

Begin
 write('press any key');
 ch := readkey;
end.
0
 

Author Comment

by:ping072497
ID: 1215341
I tried the above program. It seems doesn't work to me.
I couldn't compile it. I'm using Tubo Pascal 7.0. Is readkey
a function?


0
 

Expert Comment

by:PFranz
ID: 1215342
It is a function from the CRT Unit.
You can use this function also to read a key like ESC (ch=CHR(27)) or one of the F-keys.
 
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Twsocket as Twsocketserver 6 1,643
send click   without cursor 6 371
Embarcadero Interbase 9 753
Delphi 2010 auto upgrade has "lost" a file 7 1,072
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question