Msg: 1508 *Conference*
02-05-92 21:51:51
From: RICHARD HANSON
To : WILLIAM BRENT
Subj: REPLY TO MSG #1501 (GETIT PROGRAM)
William: Line 90 is correct as written. It says: OPEN"names.do"FORAPPENDAS1. please check the line for errors. The OPEN command opens the filname, NAMES.DO, for APPENDing more data to the end of the file. The 1 means that it is the 1st file open. Now that I have said all that, you are probably saying to yourself that you checked the line and all is well. Okay, probably true. But what could be wrong? Well, the processor is controlled by the OS (operating system) and the OS controls all aspects of file management. The Model 100 series computers initially booted with no room for file allocation, thus one must set a "count" figure for files to be managed. Since we are asking to open 1 file then we must tell the computer (the operating system that tells the processor) that we need it to manage 1 file. If we were going to work with 2 files, or 3 files, then we would have to tell the computer that we are going to work with 2 or 3 files so it will set asside room to manage the files. Solution: Go into BASIC and issue the command MAXFILES=1 then run the GETIT.BA program (assuming line 90 is okay) and all will be well in the world. Thank you for interest and your question, and one of several areas left open for discussion. (grin... yes, there is more!) Let me know how it turns out. -Rick-