4D v14.3OB GET PROPERTY NAMES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
OB GET PROPERTY NAMES
OB GET PROPERTY NAMES
The OB GET PROPERTY NAMES command returns, in arrProperties, the names of the properties contained in the language object designated by the object parameter. object must have been defined using the C_OBJECT command. Pass a text array in the arrProperties parameter. If the array does not exist, the command creates and sizes it automatically. Optionally, you can also pass a longint array in arrTypes. For each element of arrProperties, the command returns, in arrTypes, the type of value stored in the property. You can compare the values received with the following constants, found in the "Field and Variable Types" theme:
You want to test that an object is not empty: ARRAY TEXT(arrNames;0) Using an object array element: C_OBJECT($Children;$ref_richard;$ref_susan;$ref_james) |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R2) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||