delete a logical resistor
lofig_list *ptfig ;
lores_list *ptres ;
Pointer to the figure in which the resistor should be deleted
Pointer to the resistor to be deleted.
dellores delete the resistor pointed to by ptres in the figure
pointed to by ptfig.
The list consistency is maintainded, and the space freed. The resistor
connectors are also freed, since if the resistor disapear,
no more connections can occur on it.
dellores returns 1 if the resistor has been deleted, 0
if the resistor pointer does not exists in the list.
char *was_existing(lofig_list *ptfig,lores_list *ptres)
return dellores(ptfig,ptres) ? "you just killed it!" : "wasn't here anyway" ;