suspend a output

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

var ch : char;

write('press any key to continue...');

if not, what is the correct way? thx
Question by:ping072497
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

PFranz earned 50 total points
ID: 1215340
I usually use

var ch:char;

 write('press any key');
 ch := readkey;

Author Comment

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?


Expert Comment

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.

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TClientSocket.SendStream is slow... 2 981
Delphi - What Does "F" Symbolize? 2 488
ROUND() from fbudf.dll only gives integers 2 1,063
find a node in VST 2 93
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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