RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StdConvs.cbVolume Variable

Represent units that measure volume.

Pascal
cbVolume: TConvFamily;
C++
TConvFamily cbVolume;

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

The interpretation of cbVolume measurements (ounces, gills, pints, quarts, gallons, pecks, bushels, and buckets) varies, depending on whether you are using American or British Imperial measurements. The vuFluidOunces, vuFluidGills, vuFluidPints, vuFluidQuarts, vuFluidGallons, vuDryPecks, vuDryBushels, and vuDryBuckets variables refer to the American units, while the vuUKOunces, vuUKGills, vuUKPints, vuUKQuarts, vuUKGallons, vuUKPecks, vuUKBushels, and vuUKBuckets variables refer to the British Imperial units. Similarly, certain American dry measurements have the same names as American fluid cbVolume measurements (dry pints, dry quarts, and dry gallons), and are distinguished by using the variables vuDryPints, vuDryQuarts, and vuDryGallons.

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!