fileDisplay

 

 

Overview

The fileDisplay function converts the expression {exp} to ascii text and writes the text value of the expressions to the specified fileID {fileID}. The fileID must be assigned from a previous fileOpen function. The fileDisplay function always returns a Boolean value true.

Usage

Data is written to a file with the fileWrite, fileWriteln, fwriteln, fdisplay or fileDisplay functions, however, records are not actually committed to the file until the file is closed. Thus, attempting to read a record immediately after a fileWrite, fileWriteln, fwriteln, fdisplay or fileDisplay will result in an error. In order to verify records that have been written, it is necessary to close the file and save the file (fileClose with an option argument equal to 1) . The file can then be re-opened and read with the fileRead function.

 

Syntax


Expression:

(fileDisplay fileID exp)


Arguments Name Type Description
Argument:fileIDInteger An Integer representing the fileID of the file which was opened with a fileOpen function.
Argument:expString Text ByteVector An expression

Returns:

Always the Boolean value, true.



 

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.

ByteVector Text Integer Boolean

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

++ += + /=
/ * -- -=
- abortTransaction addMethod addi
appendWriteln 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 char character
checkPointTransaction clean clear cmod
cmul code commitTransaction compareEQ
compareGE compareGT compareLE compareLT
compareNE compare comparison compile
compress cons count csub
day days360 debugDetective debug
decode deleteRows delete dimension
disassemble display divi downcase
encode evalInSyncLocalContext exit exportCsv
exportSbf exportTab fact fdisplay
fileClose fileCopy fileDir fileDisplay
fileEraseDir fileErase fileExists fileMakeDir
fileOpen fileReadAll fileReadRecord fileRead
fileResize fileSeek fileSizeOf fileWriteAll
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
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 loadObject loadWorkspace
logConsole macroReplace makeQuotedList makeQuotedSymbol
max median member mid
min minute mod modi
money month morph muli
ncompareEQ ncompareGE ncompareGT ncompareLE
ncompareLT ncompareNE new number
objectToMatrix objectToNumMatrix objectToNumVector offset
onError pair parent parse
pointer preAllocateFixedMemoryBlocks product qt
quit random randomize range
rank refAttributes refValues ref
remove rename replace rept
reset resize right round
run saveModule saveObject saveRepository
saveWorkspace second setAttributes setBlock
setCar setCdr setLastCdr set
setf setq sizeof skew
sort sql sqrt srandom
stdev stdevp stringCiEQ stringCiGE
stringCiGT stringCiLE stringCiLT stringCiNE
stringFill stringToBVector stringToVector string
subi substitute substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringFill substringGE substringGT
substringLE substringLT substringNE substring
sum sumsqr svmRegression symbolToTypeCode
symbol systemCheck system text
time trim type uncompress
uniqueInsert upcase 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