ADELIA |
VADELIA |
SADELIA |
WADELIA |
MADELIA |
(I/B) |
(I/B) |
(B) |
(I/B) |
(I) |
Warning: In the case of ADELIA programs, this function is not compatible with C generator.
Description
This predefined function is used to calculate the number of elements in a list or a dynamic array (class attribute).
Syntax
Result = &NBR_ELT(List name)
or
Result = &NBR_ELT(DynArrayClassAccessor)
Parameters
Description |
Contents |
Controls |
|
Result |
NUM_E or NUM_P type variable of length <= 9 with 0 decimals. |
Number of elements in the list whose name is given as a parameter. |
|
List name |
LIST type graphical property or variable. |
Name of the list for which the number of elements is to be calculated. |
Mandatory parameter. |
Description |
Contents |
Controls |
|
Result |
NUM_E or NUM_P type variable of length <= 9 with 0 decimals. |
Number of elements in the dynamic array given as a parameter. |
|
DynArrayClassAccessor |
Accessor of a dynamic array type attribute of a class. |
Accessor of a dynamic array attribute of a class which the number of elements is to be calculated. |
Mandatory parameter. |
Example
NbrElement = &NBR_ELT(List)
NbrElement = &NBR_ELT(obj.getDynArrayAttr())
List of predefined functions by topic