Mercurial > vim
comparison runtime/doc/eval.txt @ 10301:07d2b5a3b7cc
commit https://github.com/vim/vim/commit/46fceaaa8d1447a9588736d86eb4908214187b08
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 23 21:21:08 2016 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Oct 2016 21:30:06 +0200 |
parents | 6d8b2da002e9 |
children | c78513465e6e |
comparison
equal
deleted
inserted
replaced
10300:1888d5ca413c | 10301:07d2b5a3b7cc |
---|---|
1 *eval.txt* For Vim version 8.0. Last change: 2016 Oct 02 | 1 *eval.txt* For Vim version 8.0. Last change: 2016 Oct 15 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
8212 When {flags} contains "b" then binary mode is used: There will | 8212 When {flags} contains "b" then binary mode is used: There will |
8213 not be a NL after the last list item. An empty item at the | 8213 not be a NL after the last list item. An empty item at the |
8214 end does cause the last line in the file to end in a NL. | 8214 end does cause the last line in the file to end in a NL. |
8215 | 8215 |
8216 When {flags} contains "a" then append mode is used, lines are | 8216 When {flags} contains "a" then append mode is used, lines are |
8217 append to the file: > | 8217 appended to the file: > |
8218 :call writefile(["foo"], "event.log", "a") | 8218 :call writefile(["foo"], "event.log", "a") |
8219 :call writefile(["bar"], "event.log", "a") | 8219 :call writefile(["bar"], "event.log", "a") |
8220 > | 8220 > |
8221 < All NL characters are replaced with a NUL character. | 8221 < All NL characters are replaced with a NUL character. |
8222 Inserting CR characters needs to be done before passing {list} | 8222 Inserting CR characters needs to be done before passing {list} |