DIE()

From Lianjapedia
Revision as of 09:06, 4 January 2013 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Terminate session returning a message or status code

Syntax

DIE(<expC>|<expN>)

See Also

CLOSE, ERRORLEVEL(), EXIT(), QUIT, RUN

Description

The DIE() 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

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