Answer the question
In order to leave comments, you need to log in
How to break a loop in pascal with a specific key?
There is a loop that displays text, I need something to stop when the "arrow to the right" key is pressed.
How to implement it?
For example:
var go:boolean;
begingo
:=true;
while go=true do
begin
writeln();
writeln('00');
writeln('00');
sleep(100);
end;
end.
writeln('00');
writeln('00');
cout << "00 \n 00"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question