Mercurial > vim
comparison runtime/doc/eval.txt @ 29756:2acb87ee55fc
Update runtime files
Commit: https://github.com/vim/vim/commit/e1f3fd1d02e3f5fe6d2b6d82687c6846b8e500f8
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 15 18:51:32 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Aug 2022 20:00:05 +0200 |
parents | e64e9ba15acc |
children | 5dfd4bd66ad8 |
comparison
equal
deleted
inserted
replaced
29755:e726ee71b93b | 29756:2acb87ee55fc |
---|---|
1096 echo 4 is '4' | 1096 echo 4 is '4' |
1097 0 | 1097 0 |
1098 echo 0 is [] | 1098 echo 0 is [] |
1099 0 | 1099 0 |
1100 "is#"/"isnot#" and "is?"/"isnot?" can be used to match and ignore case. | 1100 "is#"/"isnot#" and "is?"/"isnot?" can be used to match and ignore case. |
1101 In |Vim9| script this doesn't work, two strings are never identical. | |
1101 | 1102 |
1102 In legacy script, when comparing a String with a Number, the String is | 1103 In legacy script, when comparing a String with a Number, the String is |
1103 converted to a Number, and the comparison is done on Numbers. This means | 1104 converted to a Number, and the comparison is done on Numbers. This means |
1104 that: > | 1105 that: > |
1105 echo 0 == 'x' | 1106 echo 0 == 'x' |