clear

 

 

Overview

The clear function clears the current contents of RAM memory also known as the Workspace. The clear function will not clear global variables whose Lock Flag is set (see the lock function).

ObjectRepository

The clear function erases the specified ObjectRepository database archive file {aGor} and forgets all objects saved in the ObjectRepository. An ObjectRepository, which has been cleared, is now empty, and may immediately be used to store new objects if desired.

Usage

The clear function is used to clear all of the data in the current workspace.

ObjectRepository

The clear function is used to erase all of the data in the current object repository.

 

Syntax


Expression:

(clear)


Arguments Name Type Description
Argument:none--- none

Returns:

Always returns the Boolean value, true




Expression:

(clear aGor)


Arguments Name Type Description
Argument:aGorObjectRepository The ObjectRepository whose database archive file is to be erased.

Returns:

This function returns the Boolean value true, or an error value if an error occurred.



 

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