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 = Wed Dec 14 18:58:06 UTC 2022

See also

Ways to use get :

For the programmer

The object get is a compiled function.