Products Downloads


French version


 

 

 

VADELIA

SADELIA

WADELIA

MADELIA

 
 

(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(I) (C/S)

 
 

 

Section for use

All

 

Syntax

Result = &ARRAY_DIM(ArrayName; Dimension)

 

 

Description

Used to return the size of an Adelia array declared statically of size 1 or 2.

Also gives the size of an array type class attribute with a dynamically or statically defined size.

 

Parameters

 

Definition

Content

Controls

Result

Variable of NUM_E or NUM_P type, length <= 9 with 0 decimal.

Size of the array whose name has become a parameter.

 

Array name

Accessor of an array type attribute of a class.

Name of the array for which the number of elements is calculated.

Mandatory parameter.

Dimension

Numeric constant

Value "1" or "2" to specify whether dimension 1 or 2 of the array is required.

Optional parameter.

 

Parameters

ALPHA(10) MyArray1D(11)

ALPHA(10) MyArray2D(22.33)

REF_CLASS(MYCLASS) iClass

NbrElement = &ARRAY_DIM(MyArray1D)

NbrElement = &ARRAY_DIM(MyArray2D;1)

NbrElement = &ARRAY_DIM(MyArray2D;2)

NbrElement = &ARRAY_DIM(iClass.getAttributeMyArray1D())

NbrElement = &ARRAY_DIM(iClass.getAttributeMyArray2D();1)

NbrElement = &ARRAY_DIM(iClass.getAttributMyArray2D();2)

 

 

List of predefined functions by topic

 

↑ Top of page

  • Aucune étiquette