I'm trying to read a section of a file into a dynamically allocated array of byte.
My code looks like this
temp : array of byte;
fp : file of byte;
The code compiles, and blockread thinks it's written 14 bytes, but when I look at temp[n] there's nothing there. When I replace temp with a fixed size array ( as in temp : array[0..13] of byte) everything works fine...
What's going on? And more importantly, how do I fix it?