User`s guide

int N umberOfFields() const
Purpose Return number of fields in struct array
C++
Syntax
#include "mclcppclass. h"
const char* fields[] = {"a", "b", "c"};
mwArray a(2, 2, 3, fields);
int n = a.NumberOfFields() ; // Should return 3
Arguments None
Return
Value
Number of fields in the array.
Description Use this method to determine the number of fields in a struc t array. If
the underlying array is not of type
struct, zero is returned.
C-55