Synopsis:
f << x -- prints the expression x on the output file f.
Returns f as its value. Parsing associates leftward, so that several expressions may be displayed with something like f<<x<<y<<z. If f is a string, then a new file with name f is created, the expression x is printed into f, and the file f is closed.
i1 : x = 5 |
i2 : << "the value of x is " << x << endl |
See also:
Code:
-- ../../../Macaulay2/m2/expressions.m2:1074 File << Thing := File => (o,x) -> printString(o,net x)