comparison runtime/doc/usr_41.txt @ 26:404aac550f35 v7.0017

updated for version 7.0017
author vimboss
date Thu, 07 Oct 2004 21:02:47 +0000
parents cc049b00ee70
children 00c35ea0c2b3
comparison
equal deleted inserted replaced
25:8cde1a064c7c 26:404aac550f35
1 *usr_41.txt* For Vim version 7.0aa. Last change: 2004 Aug 28 1 *usr_41.txt* For Vim version 7.0aa. Last change: 2004 Oct 06
2 2
3 VIM USER MANUAL - by Bram Moolenaar 3 VIM USER MANUAL - by Bram Moolenaar
4 4
5 Write a Vim script 5 Write a Vim script
6 6
216 216
217 :let name = '"peter"' 217 :let name = '"peter"'
218 :echo name 218 :echo name
219 < "peter" ~ 219 < "peter" ~
220 220
221 Inside a single-quote string all the characters are taken literally. The 221 Inside a single-quote string all the characters are as they are. The drawback
222 drawback is that it's impossible to include a single quote. A backslash is 222 is that it's impossible to include a single quote. A backslash is taken
223 taken literally as well, thus you can't use it to change the meaning of the 223 literally as well, thus you can't use it to change the meaning of the
224 character after it. 224 character after it.
225 In double-quote strings it is possible to use special characters. Here are 225 In double-quote strings it is possible to use special characters. Here are
226 a few useful ones: 226 a few useful ones:
227 227
228 \t <Tab> 228 \t <Tab>