Text Parser - HELP!by SouylsinAlright, I'm trying to create a text parser (Goes through a text file byte by byte and prints whats inside it.) But Its not working, could you help me fix my problem or even re-write a whole new code? [code] CLS x = 1 OPEN "Text.txt" FOR BINARY AS #1 DO GET #1,x, t$ x = x + 1 PRINT t$ LOOP UNTIL x = 100 CLOSE #1 [/code] from IP address 74.56.158.252 |
| Response Title | Author and Date |
| You were so close, too. Try this ----> | Pete on Mar 25 |
| How is this a parser? All it does is emulate the TYPE command (or cat command on Linux) | qbguy on Mar 26 |
| You have to use a fixed-length string | qbguy on Mar 26 |