reading a file in reverse
BlitzMax Forums/BlitzMax Beginners Area/reading a file in reverse
| ||
Is there any way to read a stream starting with the last line, and moving towards the first? |
| ||
seek to the end minus the size of the value you want to read (byte=1, int=4, etc). then just work backwards? |
| ||
Or put each line in a TList and reverse it. |