FileSeek issue

 

hi everyone

if someone can explain to me if

FileSeek(handle,100,SEEK_END);

means to go forward 100 bytes or go back 100 bytes from the end of the file?

if means go forward?

is it FileSeek(handle,-100,SEEK_END);

means to go back 100 bytes?

if either of above

how can i go back from the end X bytes

thanks in advanced

 

See which one gives an error, use the other one.

 

actually this is my problem both of them don't give me an error

 

FileSeek(handle, -100, SEEK_END);

See FileTell()

That will help with your learning.

 

thanks a lot