You can also read the entire file with readToken( fp, "", "" ). If you want a little more speed on writing, you can do it in segments that do not contain charToNum(0) and just write those individually. Ugly, but a little faster. If its a big file, do yourself a favor and buy BinaryIO. Best thing since peanut butter!> You can use FileIO xtra if you write your data one byte at a time.Slow, but it works.director-online has two very good articles on this.Reading Binary Files with FileIO http://www.director-online.com/accessArticle.cfm?id=1087 Writing Binary Files with FileIO http://www.director-online.com/accessArticle.cfm?id=1089 just be careful with '0' characters :-)
--
Cole
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
