end edit page

overloads end function

Syntax

e = end(q,i,n)