ADE User Guide > ADE Server Class Reference > CATable
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.
The table is set to the contents of the Visual Basic array.
- x = tab.AtomicValue
Enable comment auto-refresher