home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!news.hawaii.edu!root
- From: JOEL@jach.hawaii.edu (Joel Aycock)
- Newsgroups: comp.sys.apple2
- Subject: Re: BASIC listing => TEXT file ??
- Message-ID: <1992Aug15.035721.4036@news.Hawaii.Edu>
- Date: 15 Aug 92 03:57:21 GMT
- References: <1992Aug15.012509.23905@news.Hawaii.Edu>
- Sender: root@news.Hawaii.Edu (News Service)
- Organization: UK Infrared Telescope, Joint Astronomy Centre, Hawaii
- Lines: 36
- In-Reply-To: JOEL@jach.hawaii.edu's message of Sat, 15 Aug 1992 01: 25:09 GMT
- Nntp-Posting-Host: ohia.jach.hawaii.edu
- X-News-Reader: VMS NEWS 1.20
-
- In <1992Aug15.012509.23905@news.Hawaii.Edu> JOEL@jach.hawaii.edu writes:
-
- > Does anyone know how I can get an ASCII text file on disk, from a BASIC
- > program listing? I want to be able to transfer readable listings to
- > another (non-Apple) machine....
-
- =========================================================================
- From: MX%"jbush@magnus.acs.ohio-state.edu" 14-AUG-1992 16:29:02.52
-
- From BASIC.SYSTEM, you enter the following somewhere in your program:
-
- ]65000 PRINT CHR$(4)"CREATE LISTING,TTXT"
- ]65001 PRINT CHR$(4)"OPEN LISTING"
- ]65002 PRINT CHR$(4)"WRITE LISTING"
- ]65003 LIST: PRINT CHR$(4)"CLOSE"
-
- That will capture the BASIC program in the text file LISTING. It will
- de-tokenize everything for you.
- --
- ------------------------------------------------------------------------------
- J. Eric Bush
- Internet: jbush@magnus.acs.ohio-state.edu ProLine: eric@pro-tcc.cts.com
- GEnie: KITCHEN.SINK
-
- ===============================================================================
- Eric-
-
- of course... now I'm sorry I wasted everyone's time- I have
- actually used Applesoft OPEN FILE before, and should have thought of this
- myself (it has been awhile tho- most of my BASIC experience was in the
- late 70's & early 80's, good excuse?)
-
- anyway- thanks for the FAST reply, this is a great help.
-
- aloha-
- joel.
-