I installed Turbo Pascal 7 on my Windows 7 using DOSBox and it runs well at first, but when i write the program i can't hit Run for the SECOND time (when i first click it it is OK). Actually I cannot click anything in pascal after the first run. I just click Windows on my keyboard and close Pascal. :( And I need to exercise Pascal for my school test.
Copyright © 2024 QUIZLS.COM - All rights reserved.
Answers & Comments
Verified answer
Hi,
This is a known bug in DOSBox.
It's unfortunate, and there is no work-arounds for it. You might try installing a DOS mouse driver (down-loadable from the net, or I can send you one, if you can mail me ([email protected]) which might work for you.
Another option is to write code in a windows text editor, like Notepad++, save it, and then run DOSBox, and compile at the command line using the TPC compiler instead of the Turbo Pascal IDE.
To do this, run DOSBox, ensure you're in the TP7 install folder, or the bin folder is in your path, then type:
TPC <srccode>.pas <enter>
<srccode>.pas is the name of your pascal code you want to compile.
Mystic