fileWriteAll
|
The fileWriteAll function writes the specified argument as the entire contents of the specified path and file name {filePathName}. Usage The fileWriteAll function is used to write the entire contents of a file from memory.
For instance the following Lisp code shows how to write the entire contents of the test.txt
file from 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.
(fileWriteAll (append _path "/" test.txt") fileContents) ;; Write the entire contents of test.txt
Expression:
Arguments
Name
Type
Description Argument: filePathName String Text
The path and file name to be written. Argument: fileContents String Text ByteVector
The contents of the file to be written.
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 | ByteVector |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|