comparison runtime/doc/usr_41.txt @ 23602:7b3317e959e3 v8.2.2343

patch 8.2.2343: Vim9: return type of readfile() is any Commit: https://github.com/vim/vim/commit/c423ad77ed763c11ba67729bbf63c1cf0915231f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 13 20:38:03 2021 +0100 patch 8.2.2343: Vim9: return type of readfile() is any Problem: Vim9: return type of readfile() is any. Solution: Add readblob() so that readfile() can be expected to always return a list of strings. (closes #7671)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Jan 2021 20:45:04 +0100
parents d3e064f54890
children 1816ea68c022
comparison
equal deleted inserted replaced
23601:3b600f015796 23602:7b3317e959e3
818 environ() get all environment variables 818 environ() get all environment variables
819 getenv() get one environment variable 819 getenv() get one environment variable
820 setenv() set an environment variable 820 setenv() set an environment variable
821 hostname() name of the system 821 hostname() name of the system
822 readfile() read a file into a List of lines 822 readfile() read a file into a List of lines
823 readblob() read a file into a Blob
823 readdir() get a List of file names in a directory 824 readdir() get a List of file names in a directory
824 readdirex() get a List of file information in a directory 825 readdirex() get a List of file information in a directory
825 writefile() write a List of lines or Blob into a file 826 writefile() write a List of lines or Blob into a file
826 827
827 Date and Time: *date-functions* *time-functions* 828 Date and Time: *date-functions* *time-functions*