:Return Command [RETURN]

Return is valid only in a UDC or command file; it exits at once, but returns a successful status rather than an error. Control returns to whatever invoked the User Command, which may be Qedit or may be another UDC or command file. Use :Return within an If or Else clause to get out. It can not be used at the Qedit prompt or in a Use file.

:RETURN

(Default: none)

Examples

  if cierror = 999 then     return  endif  

See also the :Escape command.

:Return Command [RETURN]