102bakslashin --read as "ten to \n"
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Nov 17, 1998
- 523 views
Hello everyone, When I tried to view "jk200.e" from Jese Kint in Notepad, I found that it displayed the newline characters rather than doing a carriage return. I didn't want to manually enter the returns into the file so I wrote a simple program to do it for me. I'm sure this took much longer since it was a fairly short file. My program replaces all instances of ASCII 10 with '\n'. On a hunch I added this line to the end of the file: ? '\n' It printed "10" so it looks like my proggie really did nothing. However it DID fix the file. It looks fine (no weird little blocks). But essentially I just replaced 10 with 10. What's going on here? confused, Lewis Townsend |\ F""\ | | /""\ | \ |_ \ |\ | | \__ | \ | \ | \ | | \ | \L___ \| \| | \__/ | |\ \ | | \ \ |""\ T==TT==7 | | \ \ | | || | |___\ \ |__/ || | \ | \ || |_________\| \ || ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com