| 4D v18ARRAY REAL | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 ARRAY REAL 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ARRAY REAL ( 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 REAL command creates and/or resizes an array of Real elements in memory.
While applying ARRAY REAL to an existing array:
This example creates a process array of 100 Real elements:
 ARRAY REAL(arValues;100)This example creates a local array of 100 rows of 50 Real elements:
 ARRAY REAL($arValues;100;50)This example creates an interprocess array of 50 Real elements and sets each element to its element number:
 ARRAY REAL(◊arValues;50)
 For($vlElem;1;50)
    ◊arValues{$vlElem}:=$vlElem
 End for
	Product:  4D
	Theme:  Arrays
	Number:  
        219
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v18)
	
	
	
	
	
 Add a comment
Add a comment