This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
OB REMOVE
|
OB REMOVE ( object ; property ) | ||||||||
Parameter | Type | Description | ||||||
object | Object, Object Field |
![]() |
Structured object | |||||
property | Text |
![]() |
Name of property to remove | |||||
The OB REMOVE command removes the property of the language object designated by the object parameter. This command removes the property as well as its current value.
object must have been defined using the C_OBJECT command or designate a 4D object field.
In the property parameter, pass the label of the property to be read. Note that the property parameter is case sensitive.
You want to remove the "age" property of an object:
C_OBJECT($Object)
OB SET($Object;"name";"smith";"age";42;"client";True)
// $Object={"name":"smith","age":42,"client":true}
OB REMOVE($Object;"age")
// $Object={"name":"smith","client":true}
Product: 4D
Theme: Objects (Language)
Number:
1226
Created: 4D v14
Modified: 4D v15
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)