Arrays

Arrays In Microsoft Dynamics NAV

Definition:

Arrays are special type of variables that have more functionality than the simple variable or normal variables. 

An Arrays is a complex variable that actually holds group of variables and these groups is defined once with a single identifier and a single datatype.

For Example:

Identifier : QuantityArray

Data Type: Integer

Diffrent Terms of Arrays

Index

Index is used to refer to single element in an array

Element

An element is a single variable in an array.

To access the 5 element in the array of QuantityArray, you have to specify like

QuantityArray[5]

Dimension

An array can be specified in different dimensions. In the abow example QuantityArray[5] is a type of one dimensional array. Array dimension can be one or more. But one dimension arrays more simpler than multidimension arrays. For specifying the Complex datas we are using Muli dimensional arrays.

Related Posts with Thumbnails