RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StdConvs.cbDistance Variable

Represent units that measure cbDistance.

Pascal
cbDistance: TConvFamily;
C++
TConvFamily cbDistance;

Use the cbDistance unit variables as parameters to the Convert function to convert a cbDistance measurement to a different set of units. The StdConvs unit registers these cbDistance measurement units in the cbDistance family and assigns the resulting TConvType values to these global variables.

Note: The cbDistance units vary greatly in scale. If you are converting between cbDistances that are all at one extreme (for example between parsecs and light years or between angstroms and microns), you may want to register your own conversion family (for example astronomical distances or microscopic distances) so that the conversions can be made with greater precision.
Note: To initialize these variables in C++ programs, use the InitStdConvs procedure.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!