> > *************** > > *** 1012,1027 **** > > > > expr5 and expr6 *expr5* *expr6* > > --------------- > > ! expr6 + expr6 .. Number addition or |List| concatenation *expr-+* > > ! expr6 - expr6 .. Number subtraction *expr--* > > ! expr6 . expr6 .. String concatenation *expr-.* > > > > For |Lists| only "+" is possible and then both expr6 must be a list. The > > result is a new list with the two lists Concatenated. > > > > ! expr7 * expr7 .. Number multiplication > > *expr-star* > > ! expr7 / expr7 .. Number division *expr-/* > > ! expr7 % expr7 .. Number modulo *expr-%* > > > > For all, except ".", Strings are converted to Numbers. > > For bitwise operators see |and()|, |or()| and |xor()|. > > --- 1027,1046 ---- > > > > expr5 and expr6 *expr5* *expr6* > > --------------- > > ! expr6 + expr6 Number addition, |List| or |Blob| concatenation *expr-+* > > ! expr6 - expr6 Number subtraction *expr--* > > ! expr6 . expr6 String concatenation *expr-.* > > ! expr6 .. expr6 String concatenation > > *expr-..* > > > > For |Lists| only "+" is possible and then both expr6 must be a list. The > > result is a new list with the two lists Concatenated. > > > > ! For String concatenation ".." is preferred, since "." is ambiguous, it is > > also > > ! used for |Dict| member access and floating point numbers. > > ! > > ! expr7 * expr7 Number multiplication > > *expr-star* > > ! expr7 / expr7 Number division *expr-/* > > ! expr7 % expr7 Number modulo *expr-%* > > > > For all, except ".", Strings are converted to Numbers. > > The ".." operator should be mentioned here as well, I believe: > > For all, except "." and "..", Strings are converted to Numbers.
Yes, I'll add it. I was wondering if there are other string to number conversions that should not be done for the ".." operator, haven't found any yet. -- hundred-and-one symptoms of being an internet addict: 200. You really believe in the concept of a "paperless" office. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
