$FILEARRAY (output to the array data CSV file)
$FILEARRAY outputs the data stored in an array as a single row in a CSV file.
Syntax
$FILEARRAY(file-object,array-name)
Values
-
file-object
Specifies the variable name of the file object requested by the $FILEOPEN embedded function.
-
array-name
Specifies the name of the array that you wish to output as a record to the CSV file.
Status
The following table lists and describes the possible statuses:
Status |
Description |
---|---|
NORMAL |
Normal end |
NODATA |
— |
ERROR |
— |
Script execution interrupted |
Indicates one of the following:
|
Example
See the example in $FILEOPEN (open file).