Deletes the specified class from the active document. If there are objects in the class to be deleted, they are reassigned to the None class.
PROCEDURE DelClass(className : STRING);def vs.DelClass(className):
return None| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class to delete. |
DelClass('Future Construction');vs.DelClass('Future Construction')BEGIN
IF KDebug THEN Writeln('Deleting Class ',ClassList(I));
DelClass(ClassList(I));
END
{* If any new classes have been added, delete them. *}
IF ClassNum > numExistClasses THEN
FOR i := ClassNum DOWNTO numExistClasses+1 DO
DelClass (ClassList (i));
IF NOT stillUsed THEN DelClass (oldClass);
NameClass (newClass);import vs
# Deletes the specified class from the active document.
className = 'None'
vs.DelClass(className)Availability: from All Versions