Skip to main content
Version: 21 R3

OB SET NULL

OB SET NULL ( object : Object ; property : Text )

ParameterTypeDescription
objectObject→Structured object
propertyText→Name of property where null value is to be applied
History
ReleaseChanges
15Modified
14Created

Description​

The OB SET NULL command stores the null value in the language object designated by the object parameter.

In the property parameter, pass the label of the property where you want to store the null value. If the property already exists in object, its value is updated. If it does not exist, it is created.
Note that the property parameter is case sensitive.

Example​

We want to put the null value in the "age" property for Lea:

 var $ref : Object
 OB SET($ref;"name";"Lea";"age";4)
  // $ref = {"name":"Lea","age":4}
 ...
 OB SET NULL($ref ;"age")
  // $ref = {"name":"Lea","age":null}

See also​

Null
OB GET PROPERTY NAMES
OB SET

Properties​

Command number1233
Thread safeyes