ReadExtended
Declaration: |
TMixedFStream.ReadExtended(var error: boolean): extended; |
The function ReadExtended reads a (binary) extended precision value (10 bytes) from the current stream position. On return, ReadExtended 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. |
|