diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-11-01 22:09:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-01 22:09:05 +0100 |
commit | 9a1c87d6bf35cd13b2e635e6a4e1136ffc1be69f (patch) | |
tree | 84b6429b40af228fcf2b5d2ef1c55faa5fac3b65 /lib | |
parent | 5a0b3280ae53d19ac5742d0e8cac561602ddde46 (diff) | |
parent | 9bc79b923ce1942fec7fdcf7e384f5a43fc48e1b (diff) | |
download | Nim-9a1c87d6bf35cd13b2e635e6a4e1136ffc1be69f.tar.gz |
Merge pull request #4985 from vlad1777d/patch-1
added description to fmWrite mode to be more exact
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index d938e59bc..9547673a5 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2629,6 +2629,8 @@ when not defined(JS): #and not defined(nimscript): FileMode* = enum ## The file mode when opening a file. fmRead, ## Open the file for read access only. fmWrite, ## Open the file for write access only. + ## If the file does not exist, it will be + ## created. fmReadWrite, ## Open the file for read and write access. ## If the file does not exist, it will be ## created. |