next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: get

get -- get the contents of a file

Synopsis

Description

i1 : "test-file" << "hi there" << close

o1 = test-file

o1 : File
i2 : get "test-file"

o2 = hi there
i3 : removeFile "test-file"
i4 : get "!date"

o4 = Sun May  8 05:00:35 UTC 2016

See also

Ways to use get :