checkEscape

 

 

Overview

The checkEscape check to see if an escape request has been made, if true, AIS will exit the current running Lisp code back to the console level.

Usage

The checkEscape function is used to exit a running Lisp program IFF an escape request has been made.

For instance the following Lisp code shows how to check for escape in a long running program. Every 1,000 iterations the program will check for an escape request. If this is NOT done, then the AIS executable may be unresponsive to escape requests.

(defun foo(Integer:N)
regs:(n)
(loop for n from 0 until N do
  (if (= (modi n 1000) 999) then (checkEscape))
  (writeln n)
  ) ; end loop
true)

 

Syntax


Expression:

(checkEscape) ;; Exit to console level if an escape request is issued


Arguments Name Type Description

Returns: The return value is always ignored.


 

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.

Context

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

checkEscape getGlobalValue getSymbolTable globalBinding

Analytic Information Server (AIS)

AIS Component Systems

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