|
|
|
|
NbArrayElement (Property) In french: NbElémentTableau
The NbArrayElement property is used to configure the number of elements in an array item. You can: - Get the number of elements in an array item (defined in the data model editor or through programming)
- Define the number of elements in an array item (when the item is described through programming).
// Define the number of elements in the // Title array item of Customer data file Title.NbArrayElement = 3 ... // Validate the data file description HDescribeFile(Customer)
Syntax
Getting the number of elements in an array item Hide the details
Number of elements> = <Data file>.<Item>.NbArrayElement
<Number of elements>: Integer - Number of elements found in the specified array item,
- 1 if the specified item is not an array item.
<Data file>: Character string Name of the data file used. This name was defined in the data model editor or with the File Description type. <Item>: Character string Name of the array item used. This name was defined in the data model editor or with the Item Description type.
Defining the number of elements in an array item Hide the details
<Item>.NbArrayElement = <New number of elements>
<Item>: Character string Name of the array item used. This name was defined by the Item Description type. <New number of elements>: Integer - Number of elements found in the specified array item,
- 1 if the specified item is not an array item.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|