4D v17.4ARRAY DATE | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
			
                    
                         
    4D v17.4
 
ARRAY DATE 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ARRAY DATE ( 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 DATE command creates and/or resizes an array of Date elements in memory.
While applying to an existing array:
This example creates a process array of 100 Date elements:
 ARRAY DATE(adValues;100)This example creates a local array of 100 rows of 50 Date elements:
 ARRAY DATE($adValues;100;50)This example creates an interprocess array of 50 Date elements, and sets each element to the current date plus a number of days equal to the element number:
 ARRAY DATE(◊adValues;50)
 For($vlElem;1;50)
    ◊adValues{$vlElem}:=Current date+$vlElem
 End for
	Product:  4D
	Theme:  Arrays
	Number:  
        224
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v17)
	
	
	
	
	
	4D Language Reference ( 4D v17.1)
	
	
	4D Language Reference ( 4D v17.2)
	
	
	4D Language Reference ( 4D v17.3)
	
	4D Language Reference ( 4D v17.4)
	
	
Add a comment