hen\rwhile j<I do begin p:=p'. next; inc(j); end;\rloc:=p;\rend;\r2 . 9@P`:;<=\rprocedure insert(L:linklist; I:integer; x:datatype);\rvar p,q:pointer;.\rbegin\rp:=loc(L, I);\rnew(q);\rq .data:=x;\rq\ next :=p". next;\rp". next :=q;\rinc (L. len);\rend;\r3 . 9@P`DE<=\rprocedure delete(L:linklist; I:integer);\rvar p,q:pointer;\rbegin\rp:=loc(L, I-l);\rq :=p\ next;\rp". next :=q". next;\rdispose(q);\rdec (L. len);\rend;\r4 . H@P`:;<=(:;I!"q)\rp:=loc (L, I);\rnew(q);\rq .data:=x;\rq\ pre: =p;\rq". next :=p". next;\rp". next :=q;\rq".nextJ pre:=q;.\r5 . H@P`DE<=\rp:=loc(L, I) ; {pMNDE`!"}\rp .pre . next:=p'. next;\rp\ nextJ pre:=p". pre;\rdispose (p);