It seems simple...
- Posted by Brian <impee3 at EXCITE.COM> Dec 13, 2000
- 418 views
I'm trying to open a binary file for read only, go to the last 128 bytes in the file, and read that string. Seems simple, right? I'm at the point where I can't find an equivalent Euphoria routine that I'd use if I were writing this in VB. In VB, I'd use -- FileLen(FileName) - 127 -- to do what I'm trying. I tried to use get_bytes, but to no avail. Can anybody send me a snippet of code that'll do what I need? Seek() would work fine for moving the placement of the next reading to 128 bytes from the end of the file, but getting the actual length of the file is where I'm stuck. Thanks, Brian