Hi Thomas,
if yo go for the TYPE instead of PEMSTAT why not VARTYPE?
Agnes
>>I have a program that checks to see if a property already exists on an object before adding it, which would be the better way to determine if the property already exists?
>
>You can call addproperty even if the property does exist, if you only have the need to set.
>The operation is even faster ;-)
>If you are checking before a get, Type() might help you more than
!Pemstat
>
>>
>> IF PEMSTATUS( m.loMyObject, [cNewProperty], 5)
>> ADDPROPERTY( m.loMyObject, [cNewProperty], [Test Information])
>> ENDIF
>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]