Jeff wrote, his frustration level rising, >Ken, > >That code you posted here, I really appreciate you did that but all I get are >compile errors (see below) --- big snip --- You were bitten by several bugs, including DIM syntax introduced in a later version of FB^3 (my fault, i thought the "DIM AS XXXX [variable]" was legal in 3.2.0, but apparently the change came in a later version), and several constant underscores lost in the e-mail transfer (we warn about these all the time, if you copy and paste your code from the Associate web site). Rather than bore the list with a code repost, I have rewritten the code to include the earlier FB^3 syntax (I hope). I put the revised code in a package with a test file containing both linefeeds and carriage returns, and a compiled version of the app to remove the linefeeds (in case you still have trouble with the code). You can download it here: <ftp://ftp.futurebasic.org/FutureBasic/dropbox/mungedfiletest.sit> Ken p.s. Spring for the bucks and upgrade. It's worth it if you are serious about coding like I think you are. Learning is much easier when everyone here is on the same playing field. It also saves time playing catch-up when you do upgrade. FBII is growing more and more irrelevant each day, and the advent of OSX will force us to either progress or forever remain stagnant.