RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteSingle Method

Writes a value of type Single (Delphi) or float (C++) to the writer's stream.

Pascal
procedure WriteSingle(const Value: Single);
C++
__fastcall WriteSingle(const Single Value);

WriteSingle is used internally by the component streaming system to write component properties to a stream. Use WriteSingle for writing component properties of Delphi type Single (which corresponds to C++ type float) to streams. 

WriteSingle first writes a type identifier before writing the value. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!