File:getMode

Edit

Returns the mode the file was opened in.

mode = File:getMode()

Arguments

None

Returns

NameTypeDescription
modeOpenMode The mode the file was opened in (r, w, or a).

See also