comparison runtime/doc/usr_41.txt @ 25806:8d55e978f95b v8.2.3438

patch 8.2.3438: cannot manipulate blobs Commit: https://github.com/vim/vim/commit/5dfe467432638fac2e0156a2f9cd0d9eb569fb39 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Sep 14 17:54:30 2021 +0200 patch 8.2.3438: cannot manipulate blobs Problem: Cannot manipulate blobs. Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan, closes #8868)
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Sep 2021 18:00:08 +0200
parents 78ef12e0ce8c
children 65de67669df3
comparison
equal deleted inserted replaced
25805:6f144509b673 25806:8d55e978f95b
721 cosh() hyperbolic cosine 721 cosh() hyperbolic cosine
722 tanh() hyperbolic tangent 722 tanh() hyperbolic tangent
723 isinf() check for infinity 723 isinf() check for infinity
724 isnan() check for not a number 724 isnan() check for not a number
725 725
726 Blob manipulation: *blob-functions*
727 blob2list() get a list of numbers from a blob
728 list2blob() get a blob from a list of numbers
729
726 Other computation: *bitwise-function* 730 Other computation: *bitwise-function*
727 and() bitwise AND 731 and() bitwise AND
728 invert() bitwise invert 732 invert() bitwise invert
729 or() bitwise OR 733 or() bitwise OR
730 xor() bitwise XOR 734 xor() bitwise XOR
1446 function. Its first argument is the function reference, the second argument 1450 function. Its first argument is the function reference, the second argument
1447 is a List with arguments. 1451 is a List with arguments.
1448 1452
1449 Function references are most useful in combination with a Dictionary, as is 1453 Function references are most useful in combination with a Dictionary, as is
1450 explained in the next section. 1454 explained in the next section.
1455
1456 More information about defining your own functions here: |user-functions|.
1451 1457
1452 ============================================================================== 1458 ==============================================================================
1453 *41.8* Lists and Dictionaries 1459 *41.8* Lists and Dictionaries
1454 1460
1455 So far we have used the basic types String and Number. Vim also supports two 1461 So far we have used the basic types String and Number. Vim also supports two