>How can I test for the existence of an object property? If the property does not exist I would like to add it.
While pemstatus(oObj, cProp, 5) will give you .f. if the property doesn't exist, if you don't care what was the previous value of the property, you can just .addProperty(cProp, uValue) - works for existing properties as well. It's just that any previous value is thus overriden.