4D v14.3Using the element zero of an array |
||
|
4D v14.3
Using the element zero of an array
Using the element zero of an array
An array always has an element zero. While element zero is not shown when an array supports a form object, there is no restriction(*) in using it with the language. One example of the use of element zero is the case of the combo box discussed in the section Arrays and Form Objects. Here is another example: you want to execute an action only when you click on an element other than the previously selected element. To do this, you must keep track of each selected element. One way to do this is to use a process variable in which you maintain the element number of the selected element. Another way is to use the element zero of the array: ` atNames scrollable area object method |
PROPERTIES
Product: 4D SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R2) Inherited from : Using the element zero of an array ( 4D v11 SQL Release 6) |