fileReadAll
|
The fileReadAll function reads the entire contents of the specified path and file name {filePathName}, and
returns the result as a ByteVector. Usage The fileReadAll function is used to read the entire contents of a file into memory.
For instance the following Lisp code shows how to read the contents of the test.txt
file into memory. Notice how the _path variable is appended to the file name to
make sure that a full path and file name are passed to the fileReadAll function.
(setq fileContents (fileReadAll (append _path "/" test.txt"))) ;; Read the contents of test.txt
Expression:
Arguments
Name
Type
Description Argument: filePathName String Text
The path and file name to be read.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Text | String |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|