Arbortext Command Language > Functions by Alphabetical Listing > tbl_obj_attr_valid
  
tbl_obj_attr_valid
[0|1] = tbl_obj_attr_valid(toid, attrName[, attrval])
This function determines if setting table object attribute attrName for table object toid is valid or if setting table object attribute attrName for table object toid to attrval is valid.
If toid or attrName is invalid, or setting the table object attribute is not valid, tbl_obj_attr_valid returns zero (0). If setting the table object attribute is valid, tbl_obj_attr_valid returns one (1).
toid — The table object ID of the table object whose attribute value is to be set.
attrName — A string for the name of the attribute. Names are case insensitive.
attrval — Optional. The new value for the attribute attrName. Values are numbers or strings. String values are case insensitive. If attrval is not supplied, the function tests whether the table model supports setting the attrName table object attribute at all. If attrval is supplied, then the function is testing whether the table model supports setting the attrName table object attribute to the specific value.
Related Topics
tbl_obj_attr_set function