It seems simple...

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu