I made a welcome screen by graph mode. When user wants to start then program, he/she needs to press a key.
But how to read a key in graph mode?
I used:
...
...
ch := readkey;
if readkey <> #0 then
closegraph
...
...
But it isn't work. The key is read in the main program, not the graph...
If I have the following information
two 12-seat-table
two 11-seat-table
one 10-seat-table
How to show all the probabaility?
12 12 11 11 10
12 11 12 11 10
12 10 11 12 11
...
...
THANK YOU
When I show some graph in the graph window application.
I want to close it by pressing a key in the keyboard.
But the problem is I need to press a key in the original window of the pascal program.
How can the program recieve a key in the graph window application?
THANKYOU
During delay, when I press "enter",
The "enter" will be store in the variable after the delay statement.
How to solve it?
Also, how to set background colour of the program and how to change the screen size of the program?
Thanks.
I typed a pascal program. I run the it(exe file),and I input a string to a integer varible, the proram will error and exit, how can i solve it?
I am using Free Pascal.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.