quit

 

 

Overview

The quit function tells the AIS executable to (a) exit the current running Lisp code back to the console level, or (b) exit the current running Lisp and the current AIS executable back to the operating system level.

Usage

The quit function is used to exit a running Lisp program.

For instance the following Lisp code shows how to exit a running program.

(defun foo(Integer:N)
regs:(n)
(loop for n from 0 until N do
  (if (> n 1000) then (quit))
  (writeln n)
  ) ; end loop
true)

 

Syntax


Expression:

(quit exitSW)


Arguments Name Type Description
Argument:exitSWBoolean The exitSW, if true, tells AIS to exit the current running executable and return to the operating system level.

Returns: The return value is always ignored



Expression:

(quit)


Arguments Name Type Description

Returns: The return value is always ignored and control is returned to the console level.


 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Boolean

Here are also a number of links to functions having arguments with any of these data types.

abortTransaction addMethod badd bcompareEQ
bcompareGE bcompareGT bcompareLE bcompareLT
bcompareNE bdiv beginTransaction binaryInsert
binaryNand binaryNor binaryNot binaryNxor
binarySearch bitwiseAnd bitwiseNand bitwiseNor
bitwiseNot bitwiseNxor bitwiseOr bitwiseShiftLeft
bitwiseShiftRight bitwiseXor bmod bmul
boolean ccompareEQ ccompareGE ccompareGT
ccompareLE ccompareLT ccompareNE character
checkPointTransaction clear commitTransaction compareEQ
compareGE compareGT compareLE compareLT
compareNE compare comparison compile
cons debug disassemble display
exportCsv exportSbf exportTab fdisplay
fileClose fileCopy fileDir fileDisplay
fileErase fileOpen fileRead fileWrite
filewriteln findBlock gc icompareEQ
icompareGE icompareGT icompareLE icompareLT
icompareNE importCsv importSbf importTab
inside inspect integer isAtom
isBitVector isBoolean isBound isByteVector
isCharAlphabetic isCharAlphanumeric isCharLowercase isCharName
isCharNumeric isCharUppercase isCharWhitespace isCharacter
isComplex isDate isDirectory isEqual
isError isEven isExact isFloatVector
isIdentical isImmediate isInexact isInside
isIntegerVector isInteger isMatrix isMember
isMoney isNegative isNull isNumberMatrix
isNumberVector isNumber isObjectVector isObject
isOdd isPair isPcodeVector isPositive
isTransaction isType isVector isZero
length lisp list loadModule
loadWorkspace logConsole macroReplace makeQuotedList
member money morph ncompareEQ
ncompareGE ncompareGT ncompareLE ncompareLT
ncompareNE new number onError
pair quit ref remove
rename reset saveModule saveObject
saveWorkspace setBlock setCar set
setf setq sizeof sort
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringGE substringGT substringLE
substringLT substringNE systemCheck vectorFill
version writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE