Thank you very much, tsh73,
Your suggestion of 'LINE INPUT' was the "Answer!", as I imediately realized when I finally got around to reading about it from the 'HELP' screen. Had never used that command before, obviously.
It not only gave me the input that I wanted but reduced my program...
Ed:
As the sample above demonstrates, length is highly variable. The text that the code comes from is as much as 50 pages of single spaced text where some lines have only a <9 char. label, and others have extended comments.
:Bob
Ok, I have more time now to give a test sample.
" (= starting code)
CHARGET1 LDA #$0D ;value for a return, skip next 3
HEX 2C ;skip next two bytes
LDA #$20 ;enter here for value for space
STA CHARADD1 ;set for output
JSR CHAROUT ;for output of space,return,etc.
"
" (= my translation (so...
Need help finding the difference between a txt. file line limited by a "ret"(lf,cr,etc) and one limited by a comma.
I put together a quick little pgr. to convert PC text files into C=128 numbered listings for a friend, and handled all effects except for comments containing commas.
I can't find...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.