Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pro-generic.cts.com!sb From: sb@pro-generic.cts.com (Stephen Brown) Newsgroups: comp.sys.apple Subject: Re: Apple basic to ibm conversion Message-ID: <8906100656.AA15263@crash.cts.com> Date: 10 Jun 89 05:51:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: pnet01!pro-simasd!pro-generic!sb@nosc.mil Organization: The Internet Lines: 31 Network Comment: to #2254 by pnet01!crash!jade.berkeley.edu!drf6%psuvm.BITNET To convert a BASIC file to a text file do the following: Determine the highest line of the program. Let's say its 5000. Then at some higher line (say 6000) enter the following program: 6000 PRINT CHR$(4);"OPEN NEWFILE" 6001 PRINT CHR$(4);"WRITE NEWFILE" 6002 LIST 0,5000 6003 PRINT CHR$(4);"CLOSE" Once this is done, type: RUN 6000 The disk drive will turn on, and a while later, you will have a text file on the disk which will contain the contents of your AppleSoft program. The text file will be somewhat larger than the AppleSoft file, so make sure there's enough room on the disk. Also, make sure the filename you use is legal. NEWFILE is legal under DOS and ProDOS; 4ME is illegal under both, NEW FILE is legal only under DOS. Hope this helps. Stephen Brown ProLINE: sb@pro-generic.cts.com ------------>sometimes you feel like a nut sometimes you don't<----------