next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: fileMode(String)

fileMode(String) -- get file mode

Synopsis

Description

i1 : fn = temporaryFileName()

o1 = /tmp/M2-21743-0/0
i2 : fn << "hi there" << close

o2 = /tmp/M2-21743-0/0

o2 : File
i3 : fileMode fn

o3 = 420
i4 : removeFile fn