up previous next
Input and output is implemented in CoCoA through the use of
devices. At present, the official devices are: (1) standard IO (the
CoCoA window), (2) text files, and (3) strings. What this means is that
it is possible to read from or write to any of these places. The
cases are discussed separately, below. Text files may be read
verbatim or---with the
Source
command---be executed as CoCoA
commands.