4D v14.3ARRAY LONGINT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
ARRAY LONGINT
|
ARRAY LONGINT ( arrayName ; size {; size2} ) | ||||||||
Parameter | Type | Description | ||||||
arrayName | Array |
![]() |
Name of the array | |||||
size | Longint |
![]() |
Number of elements in the array or Number of rows if size2 is specified | |||||
size2 | Longint |
![]() |
Number of columns in a two-dimensional array | |||||
The ARRAY LONGINT command creates and/or resizes an array of 4-byte Longint elements in memory.
When applying ARRAY LONGINT to an existing array:
This example creates a process array of 100 4-byte Long Integer elements:
ARRAY LONGINT(alValues;100)
This example creates a local array of 100 rows of 50 4-byte Long Integer elements:
ARRAY LONGINT($alValues;100;50)
This example creates an interprocess array of 50 4-byte Long Integer elements and sets each element to its element number:
ARRAY LONGINT(◊alValues;50)
For($vlElem;1;50)
◊alValues{$vlElem}:=$vlElem
End for
Product: 4D
Theme: Arrays
Number:
221
Created: < 4D v6
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)