next | previous | forward | backward | up | top | index | toc | Macaulay2 website
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 = Thu 27 May 2021 10:31:17 PM UTC

See also

Ways to use get :

For the programmer

The object get is a compiled function.