> *************** > *** 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. Tom -- -- 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.
