RAD Studio VCL Reference
TWriter.WriteSingle Method

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

procedure WriteSingle(const Value: Single);
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!