fieldCount (Object control)
Returns the number of fields in a list or a structure.
Arguments
list
is the object to count fields in, can be a builtin-list or a structure.
Return values
size
as a natural number.
Example
Output:
3
2
2
Returns the number of fields in a list or a structure.