WRITE_T_O_REAL_ARRAY

Writes an array of real numbers to the currently open file with the specified attribute label. Returns 1 on success and 0 if errors occur.

Format

WRITE_T_O_REAL_ARRAY (Array, Attribute)

Prerequisites

WRITE_T_O_OPEN_FILE (Filename)
WRITE_T_O_DATA_BLOCK (Block Name)

Arguments

 
Array
Array of real values
Attribute
Name of attribute to assign array to.

Examples

 
Function
WRITE_T_O_REAL_ARRAY ({1,2,3,4,5}, “NEW_ARRAY”)
Result
1
Writes to file
NEW_ARRAY = 1.0, 2.0, 3.0, 4.0, 5.0
 
Function
WRITE_T_O_REAL_ARRAY ({‘a’,’b’,’c’,’d’,’e’}, “NEW_ARRAY”)
Result
0
 
Important:  
Filenames are case sensitive and parameters are not case sensitive.