EXIT()

From Lianjapedia
Revision as of 07:47, 23 October 2013 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to terminate the session returning a message or status code

Syntax

EXIT(<expC>|<expN>)

See Also

CLOSE, DIE(), ERRORLEVEL(), QUIT, RUN

Description

The EXIT() function closes all open files and ends the Lianja process, returns the specified message, <expC>, or status code (-1 to 254), <expN>, to the operating system or calling script.

Example

exit("User "+user()+ " exited at "+time())