Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!rutgers!sri-unix!sri-spam!ames!ucbcad!ucbvax!UNO.BITNET!SJDMK From: SJDMK@UNO.BITNET Newsgroups: comp.sys.apple Subject: /RAM... Message-ID: <8611190534.AA09565@ucbvax.Berkeley.EDU> Date: Tue, 18-Nov-86 23:10:00 EST Article-I.D.: ucbvax.8611190534.AA09565 Posted: Tue Nov 18 23:10:00 1986 Date-Received: Wed, 19-Nov-86 05:46:43 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 39 I got alot of good response for my previous notice about the ram drive but now I have another question. First of all I'll do a short summary of the answers to question #1. I'll post a more complete summary in a couple of days. ProDOS automatically creates a ram disk. Whenever you want to put something on it, precede the file name with /ram. For example: to store a program called ANIMALS on the ram disk, assuming you have it in memory, type SAVE /RAM/ANIMALS. To find out what's on your ram disk, type CAT /RAM or CATALOG /RAM. The ram disk is 128 blocks long (I would imagine 64k). Now for my next question: Is there any command similar to this: COPY ANIMALS /RAM/ANIMALS The reason for this is, I can put a BASIC program onto the ram disk by loading it from my disk and SAVEing it to the ram disk as described above. I want to transfer a text file from one to the other. I could write a program which reads the text file into an array and then writes it to the ram disk file but that seems very inefficient. Any ideas? While I'm on a roll, I'll throw out another question: In a BASIC program, can you have two files open at once? One for reading from and the other for writing to? I tried it but as soon as the program came down to my input statement (which it was supposed to get from the input file), I was prompted at the screen with a "?". Thanks for all your help. It's nice having a bunch of experts to ask questions to when you get stuck... Steve Steven J. Dawson BITnet: SJDMK@UNO.BITNET