Following on from my question yesterday, I am now successfully reading data from a binary file, but I can only do this with the random access style syntax along the lines of "input >n" to read something at byte position n.
If I try syntax like " input <8 x IEEE8.; " to read the next 8 bytes as an IEEE double, it does not advance the file pointer, so any similar input statements that follow keep re-reading the same 8 bytes. I have tried using a trailing @ but this makes no difference. Is there perhaps a hold control for binary files that I am not aware of?
Also, is there a way of reading a block of data into a matrix, instead of reading numbers one at a time?