end edit page

overloaded end function

Syntax

e = end(f,i,n)