I am working on a bank reconciliation program and have a problem with data entry.
For a readln (real) statement, if a character is entered, it crashes the program. Is there a way to test the input data to keep it from crashing the program?
Also is there a way to run a control loop in the background so that I don’t have to enter a character to continue the loop with each entry. Initially I have I t set up so that I enter “c” from a menu to enter checks, and then for each additional entry I have to say “c” to repeat the loop for another entry. (In other words I would like to just be able to enter a loop and stay there until I am done entering the checks, and then just hit “x” or whatever to exit the loop, without having to restart the loop with each entry.)