BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description: Removes a link with another. End description
Remove link
Begin NetLogo code:
substitute-text-area-for other-end-of-link any-of-kind "Prototype1" let other-end other-end-of-link if link-with other-end != nobody [ask link-with other-end [die]]
End NetLogo code
You can specify the other end of the link by editing the text area.
This uses the NetLogo link-with primitive with the value computed by the contents of the text area to get the link and then removes it using the NetLogo die command.
Remove link was implemented by Ken Kahn.
BehaviourComposer: ignore everything after this.