ReadDouble

Declaration: TILabFStream.ReadDouble(var error: boolean): double;
The function ReadDouble reads a (binary) double precision value (8 bytes) from the current stream position. On return, ReadDouble contains the corresponding floating point number; the property Position of the stream points to the first byte after the scanned number. If the variable parameter error returns TRUE this indicates an error during stream read (i.e. the end of the stream has been encountered prematurely).

Hint: In order to avoid reading data beyond the end of the stream, the user should call the function Eos before reading the stream data. Reading beyond the end of the stream yields undefined results.