4D v14.3OB Get type |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
OB Get type
|
OB Get type ( object ; property ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
object | Object |
![]() |
Structured object | |||||
property | Text |
![]() |
Property name | |||||
Function result | Longint |
![]() |
Property value type | |||||
The OB Get type command returns the type of value associated with the property of the language object.
object must have been defined using the C_OBJECT command.
In the property parameter, pass the label of the property whose type you want to find out.
Note that the property parameter is case sensitive.
The command returns a longint indicating the type of value. You can compare this value with the following constants, found in the "Field and Variable Types" theme:
Constant | Type | Value |
Is Boolean | Longint | 6 |
Is JSON null | Longint | 255 |
Is object | Longint | 38 |
Is real | Longint | 1 |
Is string var | Longint | 24 |
Is text | Longint | 2 |
Is undefined | Longint | 5 |
Object array | Longint | 39 |
Product: 4D
Theme: Objects (Language)
Number:
1230
Created: 4D v14
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)