Difference between revisions of "EXIT()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with "==Purpose== Terminate session returning a message or status code ==Syntax== EXIT(<expC>|<expN>) ==See Also== CLOSE, DIE(), ERRORLEVEL(), QUIT, RUN ==Des...") |
Yvonne.milne (Talk | contribs) |
||
Line 18: | Line 18: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:User Defined Functions]] |
− | + | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] |
Revision as of 07:56, 4 February 2013
Contents
Purpose
Terminate 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())