isBound

 

 

Overview

The isBound function returns the index, of the specified symbol {name}, within the Structure {struct}, Dictionary {dict} or Directory{dir}. If the symbol is not bound within the Structure, the Boolean value, false is returned.

Usage

Use the isBound function to determine if a symbol is in a Structure, Dictionary or a Directory. It is similar to the member function.

 

Syntax


Expression:

(isBound struct name )


Arguments Name Type Description
Argument:structStructure A structure.
Argument:nameString or Text A symbolic name.

Returns:

Returns the index where the name was found. If not found false is returned




Expression:

(isBound dictionary name )


Arguments Name Type Description
Argument:dictionarydictionary A Dictionary.
Argument:nameString or Text A symbolic name.

Returns:

Returns the index where the name was found. If not found false is returned




Expression:

(isBound directory name )


Arguments Name Type Description
Argument:directorydirectory A Directory.
Argument:nameString or Text A symbolic name.

Returns:

Returns the index where the name was found. If not found false is returned



 

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.

Structure Integer Boolean Dictionary
Integer Boolean Directory Integer
Boolean

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

++ += + /=
/ * -- -=
- abortTransaction addMethod addi
append apply avg badd
balance 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 cadd
ccompareEQ ccompareGE ccompareGT ccompareLE
ccompareLT ccompareNE cdiv cdr
char character checkPointTransaction class
clear cmod cmul code
commitTransaction compareEQ compareGE compareGT
compareLE compareLT compareNE compare
comparison compile cons copy
count csub day days360
debugDetective debug defineStructure defstruct
deleteRows delete dimension disassemble
display divi evalInSyncLocalContext exit
exportCsv exportSbf exportTab fact
fdisplay fieldsOf fileClose fileCopy
fileDir fileDisplay fileErase fileOpen
fileReadRecord fileRead fileResize fileSeek
fileWrite filewriteln findBlock find
floor fraction freeBlock gc
gcd getRecursionCount hashString hour
iadd icompareEQ icompareGE icompareGT
icompareLE icompareLT icompareNE idiv
imod importCsv importSbf importTab
imul insertRows insert inside
inspect integer isAtom isBitVector
isBoolean isBound isByteVector isCharAlphabetic
isCharAlphanumeric isCharLowercase isCharName isCharNumeric
isCharUppercase isCharWhitespace isChar isCharacter
isClass isComplex isDate isDictionary
isDirectory isEqual isError isEven
isExact isFloatVector isIdentical isImmediate
isInexact isInside isIntegerVector isInteger
isLambda isMatrix isMember isMoney
isNegative isNull isNumberMatrix isNumberVector
isNumber isObjectVector isObject isOdd
isPair isPcodeVector isPositive isString
isStructure isSymbol isText isTransaction
isType isVector isZero isub
kurtosis lcm left length
lisp list loadModule loadRepository
loadWorkspace logConsole macroReplace makeDictionary
makeQuotedList makeStructure map mapc
max median member methodsOf
mid min minute mod
modi money month morph
muli ncompareEQ ncompareGE ncompareGT
ncompareLE ncompareLT ncompareNE new
number objectToDictionary objectToDirectory objectToList
objectToMatrix objectToNumMatrix objectToNumVector objectToStructure
objectToVector offset onError pair
parent parse pointer preAllocateFixedMemoryBlocks
product proprecord putprop qt
quit random randomize range
rank refAttributes refValues ref
remProp remove rename replace
rept reset resize right
round saveImmediate saveModule saveObject
saveRepository saveWorkspace second send
setAttributes setBlock setCar setCdr
setLastCdr set setf setq
sizeof skew sort sql
sqrt srandom stdev stdevp
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE string subi
substitute substringCiEQ substringCiGE substringCiGT
substringCiLE substringCiLT substringCiNE substringEQ
substringGE substringGT substringLE substringLT
substringNE substring sum sumsqr
super svmRegression systemCheck system
text time type uniqueInsert
var varp vectorBinaryInnerProduct vectorBipolarInnerProduct
vectorCosineInnerProduct vectorCubeInnerProduct vectorDelete vectorExpInnerProduct
vectorFill vectorInnerProduct vectorLogInnerProduct vectorQuartInnerProduct
vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct vectorSquareInnerProduct
vectorTanInnerProduct vectorTanhInnerProduct version writelg
writeln year

Analytic Information Server (AIS)

AIS Component Systems

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