Revision as of 01:05, 16 June 2015 by Karenlee (talk | contribs) (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文


Retrieves the scalar value from a zero-dimensional CATable object. A zero-dimensional table results when a result is not an array, or when you call Slice or Subscript on a one-dimensional array.

Once you have a CATable object, there are three approaches for accessing the individual cells. You can access cells by coordinate using CATable::GetDataByLabels and CATable::GetDataByElements; you can convert to a native array using CATable::GetSafeArray; or you can successively slice the array to get CATable table objects of lower dimension until you eventually bottom out at individual cells. When you use the last method, AtomicValue is used to get the cell value.

Return value


Example Usage

The table is set to the contents of the Visual Basic array.

x = tab.AtomicValue

Error Codes

See Also


You are not allowed to post comments.