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 = Fri 13 May 2022 11:17:01 PM CDT

See also

Ways to use get :

For the programmer

The object get is a compiled function.