The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_streams
Class: none
Declaration: function ReadSingleFromStream (Instream: TStream; var eos: boolean): double;

The function ReadSingleFromStream reads a (binary) single value (4 bytes) from the current stream position. The parameter Instream contains the stream to be read, the variable parameter eos is TRUE if the end of the stream has been reached. In this case the function value is undefined.

Last Update: 2017-Nov-21