I am using Borland Pascal (DOS) version 7.0. I wondered if it is possible to read from user while in graphics mode. I mean just like Read and Readln in CRT mode. If possible could anybody send example code.
Also anothe problem I have is I want to read a number from user, if I use integer or word and user presses a character the program will crash. What is the best way to validate and make sure the program does not crash.
If answering please bear in mind that even though I do VB and C++ stuff, my Pascal knowledge is not that brilliant, therefore a little example code will help.
Thank you folks