comparison runtime/doc/usr_41.txt @ 31200:a7801222c9c5

Update runtime files Commit: https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 23 23:46:31 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Nov 2022 01:00:06 +0100
parents 7831da568864
children 56a2af8c0980
comparison
equal deleted inserted replaced
31199:2a1806eb1a4e 31200:a7801222c9c5
1 *usr_41.txt* For Vim version 9.0. Last change: 2022 Nov 14 1 *usr_41.txt* For Vim version 9.0. Last change: 2022 Nov 22
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
440 440
441 If you don't like the concatenation you can use the $"string" form, which 441 If you don't like the concatenation you can use the $"string" form, which
442 accepts an expression in curly braces: > 442 accepts an expression in curly braces: >
443 echo $"Name: {name}" 443 echo $"Name: {name}"
444 444
445 See |interp-string| for more information. 445 See |interpolated-string| for more information.
446 446
447 Borrowed from the C language is the conditional expression: > 447 Borrowed from the C language is the conditional expression: >
448 448
449 a ? b : c 449 a ? b : c
450 450
801 range() return a List with a sequence of numbers 801 range() return a List with a sequence of numbers
802 string() String representation of a List 802 string() String representation of a List
803 call() call a function with List as arguments 803 call() call a function with List as arguments
804 index() index of a value in a List or Blob 804 index() index of a value in a List or Blob
805 indexof() index in a List or Blob where an expression 805 indexof() index in a List or Blob where an expression
806 evaluates to true 806 evaluates to true
807 max() maximum value in a List 807 max() maximum value in a List
808 min() minimum value in a List 808 min() minimum value in a List
809 count() count number of times a value appears in a List 809 count() count number of times a value appears in a List
810 repeat() repeat a List multiple times 810 repeat() repeat a List multiple times
811 flatten() flatten a List 811 flatten() flatten a List