Path: utzoo!mnetor!uunet!oddjob!ncar!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!gatech!emcard!mat From: mat@emcard.UUCP (Mat Waites) Newsgroups: comp.sys.cbm Subject: Re: How to convert text files to BASIC executables? Message-ID: <5271@emcard.UUCP> Date: 5 Apr 88 17:37:44 GMT References: <7089@drutx.ATT.COM> Reply-To: mat@emcard.UUCP (Mat Waites) Distribution: comp Organization: Emory University Cardiac Data Bank Lines: 30 Keywords: BASIC, text-to-executable Commodore doesn't supply anything to do this... Transactor had a program to do it quite a while back (1-1/2 to 2 yrs) called STP (source to program) You can also do it in basic, very slowly. Write with wery large line numbers so as not to conflict with your program for conversion. e.g. 50000 open file holding program 50010 get a line 50020 clear screen 50030 print line to screen 50040 print "goto 50010" to screen 50050 poke some carriage returns in the keyboard input queue 50060 set the number of chars in the queue to 2 50070 end sorry about the pseudo-type code, I'm trying to forget basic. anyway, the computer is fooled into taking the input from the screen and tokenizing it into basic. mat -- W Mat Waites | PHONE: (404) 727-7197 Emory Univ Cardiac Data Bank | UUCP: ...!gatech!emcard!mat Atlanta, GA 30322 |