comparison runtime/doc/eval.txt @ 5340:22da5ab9aaa1

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Thu, 05 Sep 2013 22:13:31 +0200
parents 359743c1f59a
children 3109053ce4e3
comparison
equal deleted inserted replaced
5339:a00302b18c60 5340:22da5ab9aaa1
1 *eval.txt* For Vim version 7.4. Last change: 2013 Aug 03 1 *eval.txt* For Vim version 7.4. Last change: 2013 Aug 24
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
121 121
122 :let Fn = function("MyFunc") 122 :let Fn = function("MyFunc")
123 :echo Fn() 123 :echo Fn()
124 < *E704* *E705* *E707* 124 < *E704* *E705* *E707*
125 A Funcref variable must start with a capital, "s:", "w:", "t:" or "b:". You 125 A Funcref variable must start with a capital, "s:", "w:", "t:" or "b:". You
126 can use "g:" but the following name must still start with a capital. You
126 cannot have both a Funcref variable and a function with the same name. 127 cannot have both a Funcref variable and a function with the same name.
127 128
128 A special case is defining a function and directly assigning its Funcref to a 129 A special case is defining a function and directly assigning its Funcref to a
129 Dictionary entry. Example: > 130 Dictionary entry. Example: >
130 :function dict.init() dict 131 :function dict.init() dict
6335 this version. Example (checking version 6.2.148 or later): > 6336 this version. Example (checking version 6.2.148 or later): >
6336 :if v:version > 602 || v:version == 602 && has("patch148") 6337 :if v:version > 602 || v:version == 602 && has("patch148")
6337 < Note that it's possible for patch 147 to be omitted even though 148 is 6338 < Note that it's possible for patch 147 to be omitted even though 148 is
6338 included. 6339 included.
6339 6340
6341 acl Compiled with |ACL| support.
6340 all_builtin_terms Compiled with all builtin terminals enabled. 6342 all_builtin_terms Compiled with all builtin terminals enabled.
6341 amiga Amiga version of Vim. 6343 amiga Amiga version of Vim.
6342 arabic Compiled with Arabic support |Arabic|. 6344 arabic Compiled with Arabic support |Arabic|.
6343 arp Compiled with ARP support (Amiga). 6345 arp Compiled with ARP support (Amiga).
6344 autocmd Compiled with autocommand support. |autocommand| 6346 autocmd Compiled with autocommand support. |autocommand|
6501 winaltkeys Compiled with 'winaltkeys' option. 6503 winaltkeys Compiled with 'winaltkeys' option.
6502 windows Compiled with support for more than one window. 6504 windows Compiled with support for more than one window.
6503 writebackup Compiled with 'writebackup' default on. 6505 writebackup Compiled with 'writebackup' default on.
6504 xfontset Compiled with X fontset support |xfontset|. 6506 xfontset Compiled with X fontset support |xfontset|.
6505 xim Compiled with X input method support |xim|. 6507 xim Compiled with X input method support |xim|.
6506 xpm_w32 Compiled with pixmap support for Win32. 6508 xpm Compiled with pixmap support.
6509 xpm_w32 Compiled with pixmap support for Win32. (Only for
6510 backward compatibility. Use "xpm" instead.)
6507 xsmp Compiled with X session management support. 6511 xsmp Compiled with X session management support.
6508 xsmp_interact Compiled with interactive X session management support. 6512 xsmp_interact Compiled with interactive X session management support.
6509 xterm_clipboard Compiled with support for xterm clipboard. 6513 xterm_clipboard Compiled with support for xterm clipboard.
6510 xterm_save Compiled with support for saving and restoring the 6514 xterm_save Compiled with support for saving and restoring the
6511 xterm screen. 6515 xterm screen.