Sorry I couldn't be of help. I always start with a form when programming in pascal. Hopefully there are other users here with more console experience.