Macaulay2 » Documentation
Packages » Macaulay2Doc :: get
next | previous | forward | backward | up | index | toc

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 Mar 21 12:18:29 PM EDT 2024

See also

Ways to use get :

For the programmer

The object get is a compiled function.