up previous next
close

close an output stream

Syntax
close(OUT: OSTREAM)

Description
This function closes the output stream OUT .

Example
/**/  file := OpenOFile("my-test"); -- open file for output from CoCoA
/**/  print "test" on file;  -- write to my-file
/**/  close(file);  -- close the output stream, "flushes" all output

See Also