Code carried out when a field is cleared.
Vector fields, including the vector tag.
<v:vector onClear=<putError {list cleared}> 1,2,3> writes a message when v is cleared.A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.
Carried out by .clear, by the clear tag, by .pull (which empties the field, unless the field has onPull code), and when a new value is assigned to a vector (which clears it before pushing the new values). If there's no onClear code, .clear, the clear tag and .pull carry out the field's onSet code instead.