next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: fileMode(File)

fileMode(File) -- get file mode

Synopsis

Description

i1 : fn = temporaryFileName()

o1 = /tmp/M2-62968-0/0
i2 : f = fn << "hi there"

o2 = /tmp/M2-62968-0/0

o2 : File
i3 : fileMode f

o3 = 420
i4 : close f

o4 = /tmp/M2-62968-0/0

o4 : File
i5 : removeFile fn