4D v14.3

OB REMOVE

Home

 
4D v14.3
OB REMOVE

OB REMOVE 


 

OB REMOVE ( object ; property ) 
Parameter Type   Description
object  Object in Structured object
property  Text in 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.

In the property parameter, pass the label of the property to be read. Note that the property parameter is case sensitive.

Example  

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}

 
PROPERTIES 

Product: 4D
Theme: Objects (Language)
Number: 1226

 
HISTORY 

New
Created: 4D v14

 
SEE ALSO 

OB SET

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)