Deletes a specified attribute associated with a virtual user.
Kernel.bdh
AttributeDelete( in sName : string ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sName | Name of the attribute that is to be deleted. |
dcltrans transaction TMain var sUrl, sString, sBuffer : string; begin AttributeSetString("name", "Jim"); AttributeSetInt("age", 23); AttributeSetDouble("cash", 4503.60); AttributeSetBinary("code", "\h9EF30533", 4); // do anything, for example, call an external function AttributeGetString("name", sString); writeln(sString); writeln(AttributeGetInt("age")); writeln(AttributeGetDouble("cash")); AttributeGetBinary("code", sBuffer); WriteData(sBuffer, STRING_COMPLETE); AttributeDelete("name"); AttributeDelete("age"); AttributeDelete("cash"); AttributeDelete("code"); end TMain;