Wei Zhang wrote:

> any chance to remove the space compulsory in vim9 ??
> 
> Vim9 script enforces proper use of white space.  This is no longer allowed: 
> >
>         var name=234        # Error!
>         var name= 234        # Error!
>         var name =234        # Error!
> There must be white space before and after the "=": >
>         var name = 234        # OK

This was an intentional choice.  It may look a bit strict, but you will
eventually appreciate that scripts are easier to read.  If the three
forms above would be allowed then you end up with a mix of them, making
scripts less uniform and taking a bit longer to spot the structure.

-- 
You're as much use as a condom machine at the Vatican.
                  -- Rimmer to Holly in Red Dwarf 'Queeg'

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211231113532.0E4C71C11B3%40moolenaar.net.

Raspunde prin e-mail lui