[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 Applesoft BASIC questions/1 Hyper C question



Chris Deschu (cdeschu@nyx10.cs.du.edu) wrote:

:  5  ONERR  GOTO 100
:  10 D$ =  CHR$ (4)
:  20  PRINT D$;"OPEN XAA"
:  30  PRINT D$;"OPEN XAA2"
:  40  PRINT D$;"READ XAA"
:  50  GET A$
:  60  PRINT D$;"WRITE XAA2"
:  70  IF A$ =  CHR$ (10) THEN  PRINT : GOTO 40
:  80  PRINT A$;
:  90  GOTO 40
:  100  PRINT D$;"CLOSE"
:  110  END

: 	The program above should work, I do quick file hacks like that
: all the time. BASIC is great for this kind of stuff. Good luck.
: -- 

that looks almost exactly like the program i wrote to do exactly the same 
thing. :)     just be forwarned that the program may take a few minutes to 
finish and a flickering cursor may be all you'll see while it's running.
it took me a few tries to get the the read/write detail correct.
power to the basic quick hacks!

-- 
It is not possible that the possible and the   |    tsetse@helix.net
impossible are both possible  - Babble 123     |  +oO