Hi All,
I am on the way to writing my first PowerBasic DOS application. It is to gather data from some simple serial devices so I based it on the terminal.bas example.
It took me a few goes to get terminal.bas to compile. I needed to put the full path into the linked file specifications. I got it to compile and run OK.
I renamed the terminal.bas file, saved it into a work directory and took out the stuff relating to the dialing. The first test is very simple; open the port, get the device to return some standard data and close the port. However, when I hit Run the Compiling pop-up appeared and the computer went completely unresponsive. It did not respond to any keystrokes at all. The only thing to do was power it off and back on again.
The information on the Compiling pop-up, below the file names, is:
......Pass 1 Pass 2
Lines:...362
Stmts:...212
Free memory: 4144k Time: 00:00
The PC is a Pentium 120 Compaq notebook with 48 MB of RAM, loaded with DOS 6.22. It runs other apps, including Windows 3.11. It is vary fast and stable. I ran SpinRite on the hard drive to make sure it is OK.
Other example files compile OK. I have attached the offending BAS file. I would be grateful for any help or suggestions.
Thanks in advance,
Rob
I am on the way to writing my first PowerBasic DOS application. It is to gather data from some simple serial devices so I based it on the terminal.bas example.
It took me a few goes to get terminal.bas to compile. I needed to put the full path into the linked file specifications. I got it to compile and run OK.
I renamed the terminal.bas file, saved it into a work directory and took out the stuff relating to the dialing. The first test is very simple; open the port, get the device to return some standard data and close the port. However, when I hit Run the Compiling pop-up appeared and the computer went completely unresponsive. It did not respond to any keystrokes at all. The only thing to do was power it off and back on again.
The information on the Compiling pop-up, below the file names, is:
......Pass 1 Pass 2
Lines:...362
Stmts:...212
Free memory: 4144k Time: 00:00
The PC is a Pentium 120 Compaq notebook with 48 MB of RAM, loaded with DOS 6.22. It runs other apps, including Windows 3.11. It is vary fast and stable. I ran SpinRite on the hard drive to make sure it is OK.
Other example files compile OK. I have attached the offending BAS file. I would be grateful for any help or suggestions.
Thanks in advance,
Rob
Comment