OK Thank you

Le dim. 30 janv. 2022 à 18:45, bfrg <[email protected]> a écrit :

> Ni Va,
>
> This is explained under ':help vim9-variable-arguments'. Example:
>
> vim9script
> def Test(...args: list<string>)
>     for i in args
>         echo i
>     endfor
> enddef
> command -nargs=+ Test call Test(<f-args>)
>
>
> On 2022-01-30, Ni Va wrote:
> > HI,
> >
> > According <f-args> argue used in legacy vimscript
> >
> > *Legacy caller*
> > command! -nargs=? Foobar           call foobar#bar#foo(<f-args>)
> >
> > *Called legacy func*.
> > function!  foobar#bar#foo  (...) abort
> >
> > Thank!
> > NV
> >
> > --
> > --
> > You received this message from the "vim_use" 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_use" 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_use/9971d7bb-fc75-483e-8337-fb3ef6dc8f71n%40googlegroups.com
> .
>
> --
> --
> You received this message from the "vim_use" 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 a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/fSSKzHf51lE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/YfbK7DpXNlrmQAXf%40laptop.homenetwork
> .
>

-- 
-- 
You received this message from the "vim_use" 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_use" 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_use/CAOKxv4G4RMWDmcPWZiJkq35WMVc%3D0b__exucoDo-WU52_LmFxw%40mail.gmail.com.

Reply via email to