obj_set_str_return specifies the return value of obj_lookup if a key does not exist.
Return Value
bStr is TRUE (1), if obj_lookup returns an empty string ("") if a key does not exists or FALSE (0), if the value 0.0 is return for an non existing key.
Parameters
obj is the object created with obj_create.
bStrReturn see return value.
Comment
The alternative syntax for obj_set_str_return(m) is m.set_str_return().
Example
obj = obj_create()
obj.set_str_return(1)
obj.a == ""
See also
id-2095559