Delete a member from an object
LOADLIB "wh::system.whlib"; OBJECT FUNCTION MemberDelete(OBJECT obj, STRING membername)
Object to modify
Name of the member to insert
The object with the new member inserted.
MemberDelete deletes the specified member in the object. This member must be inserted with MemberInsert first, members from an object type declaration cannot be deleted. Member names are case-insensitive. MemberInsert can be
If the member already exists in @italic obj, an error is generated.
// Delete a mydata member into a file object OBJECT myfile := FindFile(15); myfile := MemberInsert(myfile, "mydata", "Hello, World!"); myfile := MemberDelete(myfile, "mydata");