Write a tuple to a file.
The operator write_tuple writes the contents of Tuple to a file. The data is written in an ASCII format. Therefore, the file can be exchanged between different architectures. There is no specific extension for this kind of file.
|
Tuple (input_control) |
number(-array) -> real / integer / string |
| Tuple with any kind of data. | |
|
FileName (input_control) |
filename -> string |
| Name of the file to be written. | |
If the parameters are correct the operator write_tuple returns the value 2 (H_MSG_TRUE). If the file could not be opened write_tuple returns 5 (H_MSG_FAIL). Otherwise an exception handling is raised.
write_tuple is reentrant and processed without parallelization.
read_tuple, write_image, write_region, open_file
Operators not requiring licensing