Blitz (64/213)

From:Gareth Griffiths
Date:15 May 2000 at 00:23:09
Subject:Bug in Lof?

Hello,

I think I mayhave found a bug in the Lof(File#) command.

I have an MP3 that is 734900 bytes long, and I want to read the ID3 TAG info
from it. I already know that the string "TAG" is present about 128 bytes
back from the END of the file, and this starts the tag definitions.

However, I ReadFile the MP3, then get its length using Lof, FileSeek to that
position minus 128, and then read in a 3char string.

But, it didn't work. So I put in a debug style line after the Lof to find
ou just exactly what position it was going to....

14004, not 734900.

What's going on?!?!?! :)

Catch ya later,
GazChap.



__/__/__/ __/__/__/ Gareth 'GazChap' Griffiths
__/ __/ E.Mail: gazchap@btinternet.com
__/ __/ __/ URL: www.gazchap.co.uk
__/ __/ __/ Mobile: +44 (0)7788 602270
__/__/__/ __/__/__/ � Text Message Me Today! �

All extremists should be taken out and shot.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie