I had a quick question which I'm sure someone knows the answer to on the list. In BASIC, when using the CLEAR command, do it clear all variables and close all open files? I ask because that it the behavior I am seeing and I'm trying to get around it. I've got a loader program for TS-DOS that I am feeding the HEX values for a CO file through the COM port. The loader pokes the values into memory and then calls the program when it's done. The only problem is that when I issue CLEAR to set a new HIMEM location, it closes the file (serial port) and clears every variable. With a stand alone file this isn't a problem because I can go back and re-read the first 12 bytes of the HEX file but when it's on the serial port, I can't re-read the data because it's gone at that point. Perhaps there is there a way to set HIMEM without using CLEAR?
Kurt
