Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!leah!bingvaxu!bingsuns.cc.binghamton.edu!consp24 From: consp24@bingsuns.cc.binghamton.edu (consp24) Newsgroups: comp.sys.cbm Subject: Re: Convertion from text-BASIC to run-BASIC? Message-ID: <4170@bingvaxu.cc.binghamton.edu> Date: 10 Oct 90 20:46:55 GMT Sender: usenet@bingvaxu.cc.binghamton.edu Reply-To: consp24@bingsuns.cc.binghamton.edu (consp24) Organization: SUNY Binghamton Lines: 24 Scott: The key to this conversion process is to read the file into the input buffer. I have a simple program somewhere for the 64 that will do this (I'll look for it for ya...) but for those interested souls with 128's, this'll do the trick: OPEN 1,8,8,"filename" SYS 65478,0,1 (changes the input from keyboard to disk... dunno how) It's a great feature for doing program merges: Type the code to merge (ex. a subroutne). Type OPEN 5,8,4,"0:filename,s,w" CMD5: LIST CLOSE5 This copies the program to text format (will work on the 64) Then just load the program to merge with (with non-overlapping line numbers) and type OPEN 1,8,8,"filename" SYS 65478,0,1 You'll get an out of data error as it types in the READY (= READ Y) This is a favorite trick of mine :) Gregg Riedel consp24@bingsuns.pod.binghamton.edu