next up previous contents index
Next: READ read Up: TOP Commands Previous: TIME_MARK print   Contents   Index

WRITE -- write TOP objects

IO_UNIT = <integer:1> 21 IO unit for file operations
OBJECTS = <string:0> '' variable names or constants
NUMBER_PLACES = <integer:2> 5 2 pre- and post-decimal point places
OUTPUT_DIRECTORY = <string:1> '' output directory

Description:
This command writes the specified objects to a single line which is then written to a selected I/O stream. Each element of the OBJECTS vector is first tested if it is a name of a variable of any type. If it is the contents of that variable is written out. If it is not, the element is treated as a string constant. The first and second element of NUMBER_PLACES set the numbers of places before and after the decimal point, respectively, for real and integer objects.


next up previous contents index
Next: READ read Up: TOP Commands Previous: TIME_MARK print   Contents   Index
Ben Webb 2004-10-04