Mercurial > vim
comparison runtime/doc/eval.txt @ 6530:435956324539
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 25 Jan 2015 13:02:57 +0100 |
parents | 0550be8fc7f6 |
children | 2561531decf1 |
comparison
equal
deleted
inserted
replaced
6529:3d2db5a7403f | 6530:435956324539 |
---|---|
954 | 954 |
955 *floating-point-format* | 955 *floating-point-format* |
956 Floating point numbers can be written in two forms: | 956 Floating point numbers can be written in two forms: |
957 | 957 |
958 [-+]{N}.{M} | 958 [-+]{N}.{M} |
959 [-+]{N}.{M}e[-+]{exp} | 959 [-+]{N}.{M}[eE][-+]{exp} |
960 | 960 |
961 {N} and {M} are numbers. Both {N} and {M} must be present and can only | 961 {N} and {M} are numbers. Both {N} and {M} must be present and can only |
962 contain digits. | 962 contain digits. |
963 [-+] means there is an optional plus or minus sign. | 963 [-+] means there is an optional plus or minus sign. |
964 {exp} is the exponent, power of 10. | 964 {exp} is the exponent, power of 10. |
7369 :lockvar v | 7369 :lockvar v |
7370 :let v = 'asdf' " fails! | 7370 :let v = 'asdf' " fails! |
7371 :unlet v | 7371 :unlet v |
7372 < *E741* | 7372 < *E741* |
7373 If you try to change a locked variable you get an | 7373 If you try to change a locked variable you get an |
7374 error message: "E741: Value of {name} is locked" | 7374 error message: "E741: Value is locked: {name}" |
7375 | 7375 |
7376 [depth] is relevant when locking a |List| or | 7376 [depth] is relevant when locking a |List| or |
7377 |Dictionary|. It specifies how deep the locking goes: | 7377 |Dictionary|. It specifies how deep the locking goes: |
7378 1 Lock the |List| or |Dictionary| itself, | 7378 1 Lock the |List| or |Dictionary| itself, |
7379 cannot add or remove items, but can | 7379 cannot add or remove items, but can |