How do delete a subroutine

Can anyone tell me how can i delete a subroutine

Subject: how do delete a subroutine

Yes. Mark the whole code block and hit [Del].

Subject: how do delete a subroutine

I have a surprise for you. It’s the delete button. Just select the entire subroutine and press delete.