I have files, could be thousands of lines, but the start/end lines are like this:
FHS|^~\&|APOLLO|NATA^2178^N|||200811101339+1100||dhm0003.ORU||3 FTS|1|3 I wondered what the rectangle represents I guess must be some sort of byte count??, and how to get rid of it as I process the file. My code to read the file which works fine is: hfile = Open sFilename For Input While Not Eof(hfile) Line Input #hfile, OneLine Thanks in anticipation. richard ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user