String << Thing

"name" << x -- prints the expression x on the output file named "name".

Returns the newly created File associated to the given name. Parsing associates leftward, so that several expressions may be displayed with something like "name"<<x<<y<<z . It will often be convenient to let the last output operation close the file, as illustrated below.

     i1 = "foo" << 2^30 << endl << close
     
     i2 = get "foo"
     
     o2 = "1073741824\n"
     

Go to main index.

Go to concepts index.