|
1 | | -*eval.txt* For Vim version 8.2. Last change: 2020 Jul 09 |
| 1 | +*eval.txt* For Vim version 8.2. Last change: 2020 Jul 19 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -94,8 +94,9 @@ the Number. Examples: |
94 | 94 | Number 0 --> String "0" ~ |
95 | 95 | Number -1 --> String "-1" ~ |
96 | 96 | *octal* |
97 | | -Conversion from a String to a Number is done by converting the first digits to |
98 | | -a number. Hexadecimal "0xf9", Octal "017" or "0o17", and Binary "0b10" |
| 97 | +Conversion from a String to a Number only happens in legacy Vim script, not in |
| 98 | +Vim9 script. It is done by converting the first digits to a number. |
| 99 | +Hexadecimal "0xf9", Octal "017" or "0o17", and Binary "0b10" |
99 | 100 | numbers are recognized (NOTE: when using |scriptversion-4| octal with a |
100 | 101 | leading "0" is not recognized). If the String doesn't start with digits, the |
101 | 102 | result is zero. |
@@ -2831,7 +2832,7 @@ stridx({haystack}, {needle} [, {start}]) |
2831 | 2832 | string({expr}) String String representation of {expr} value |
2832 | 2833 | strlen({expr}) Number length of the String {expr} |
2833 | 2834 | strpart({str}, {start} [, {len}]) |
2834 | | - String {len} characters of {str} at {start} |
| 2835 | + String {len} bytes of {str} at byte {start} |
2835 | 2836 | strptime({format}, {timestring}) |
2836 | 2837 | Number Convert {timestring} to unix timestamp |
2837 | 2838 | strridx({haystack}, {needle} [, {start}]) |
@@ -9183,7 +9184,8 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()* |
9183 | 9184 | the last quickfix list. |
9184 | 9185 | quickfixtextfunc |
9185 | 9186 | function to get the text to display in the |
9186 | | - quickfix window. Refer to |
| 9187 | + quickfix window. The value can be the name of |
| 9188 | + a function or a funcref or a lambda. Refer to |
9187 | 9189 | |quickfix-window-function| for an explanation |
9188 | 9190 | of how to write the function and an example. |
9189 | 9191 | title quickfix list title text. See |quickfix-title| |
|
0 commit comments