refAttributes

 

 

Overview

The refAttributes function returns the attributes of the Dictionary, Directory,Structure or Vector argument into an Object Vector.

Usage

The refAttributes function is used to return the attributes (keys) of a Structure, Dictionary or Directory Object. For retrieving the values see refValues function.

Vector

The refAttributes function is used to return the attributes of an argument.

 

Syntax


Expression:

(refAttributes struct)


Arguments Name Type Description
Argument:structStructure The Structure to be referenced.

Returns:

The keys of the structure saved in an object vector.




Expression:

(refAttributes dict)


Arguments Name Type Description
Argument:dictDictionary The Dictionary to be referenced.

Returns:

The keys of the dictionary saved in an object vector.




Expression:

(refAttributes dir)


Arguments Name Type Description
Argument:dirDirectory The Directory to be referenced.

Returns:

The keys of the directory saved in an object vector.




Expression:

(refAttributes source)


Arguments Name Type Description
Argument:sourceVector Structure Dictionary Directory. The source argument.

Returns:

The attribute object vector or #void.



 

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 Dictionary Directory Vector
Integer

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

++ += + /=
/ * -- -=
- addMethod addi appendWriteln
append apply avg badd
balance bdiv binaryInsert binaryNand
binaryNor binaryNot binaryNxor binarySearch
bitToNumberVector bitwiseAnd bitwiseNand bitwiseNor
bitwiseNot bitwiseNxor bitwiseOr bitwiseShiftLeft
bitwiseShiftRight bitwiseXor bmod bmul
boolean cadd cdiv cdr
char character class cmod
cmul code compareEQ compareGE
compareGT compareLE compareLT compareNE
compare comparison cons copy
count csub day days360
debugDetective defineStructure defstruct deleteRows
delete dimension display divi
evalInSyncLocalContext exit exportCsv exportSbf
exportTab fact fdisplay fieldsOf
fileClose fileCopy fileDisplay fileErase
fileOpen fileReadRecord fileRead fileResize
fileSeek fileWrite filewriteln findBlock
find floor fraction freeBlock
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
isFloatVector isIdentical isInside isIntegerVector
isInteger isLambda isMatrix isMember
isMoney isNumberMatrix isNumberVector isNumber
isObjectVector isObject isPair isPcodeVector
isString isStructure isSymbol isText
isType isVector isub kurtosis
lcm left length list
loadRepository macroReplace makeDictionary makeGramMatrix
makeQuotedList makeStructure map mapc
max median member methodsOf
mid min minute mod
modi money month muli
new number objectToDictionary objectToDirectory
objectToList objectToMatrix objectToNumMatrix objectToNumVector
objectToStructure objectToVector offset pair
parent parse pointer preAllocateFixedMemoryBlocks
product proprecord putprop qt
random randomize range rank
refAttributes refValues ref remProp
remove replace rept resize
reverse right round saveImmediate
saveObject saveRepository second send
setAttributes setBlock setCar setCdr
setLastCdr setq sizeof skew
sort sql sqrt srandom
stdev stdevp stringToBVector stringToVector
string subi substitute substring
sum sumsqr super svmRegression
system text time type
uniqueInsert var varp vectorBinaryInnerProduct
vectorBipolarInnerProduct vectorCosineInnerProduct vectorCubeInnerProduct vectorDelete
vectorExpInnerProduct vectorFill vectorInnerProduct vectorLogInnerProduct
vectorQuartInnerProduct vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct
vectorSquareInnerProduct vectorTanInnerProduct vectorTanhInnerProduct 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