print #handle, "delsegment n"
This causes the drawn segment with segment ID number "n" to be removed from the window's list of drawn items.  The memory that was used by the drawn segment is reclaimed by the operating system.  When the window is redrawn the deleted segment will not be included in the redraw. See the SEGMENT command for instructions on retrieving a segment ID number.

print #handle, "delsegment segmentName"
This causes the drawn segment that has been assigned "segmentName" to be removed from the window's list of drawn items.  The memory that was used by the drawn segment is reclaimed by the operating system.  When the window is redrawn the deleted segment will not be included in the redraw. See the FLUSH command for instructions on assigning segment names.

