end edit page

overloaded end function

Syntax

e = end(T,i,n)