Hi,

I see a problem with another example code in vim9.txt:

-----------------------------------------------------------------------
       command -range Rename {
                 var save = @a
                 @a = 'some expression'
                 echo 'do something with ' .. @a
                 @a = save
            }
-----------------------------------------------------------------------

After sourcing the above code, If I invoke the "Rename"
command more than once, I see the "E1041: Redefining
script item save" error:

- Yegappan

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3DX9G3yO_kTrvPtjT8jAn%3DiqnkoaHy7TXmz_9T%2BccZEVQ%40mail.gmail.com.

Raspunde prin e-mail lui