On Fri, Jun 09, 2006 at 11:19:06AM +0200, Marc Weber wrote:
> 
> The documentation states:
> 
>     *eval.txt*      For Vim version 7.0.  Last change: 2006 May 06
>     ... 
> 
[snip]
> 
> Shouldn't be the possibility added to return dicts/ lists?
> 
> Marc

     Yes.  I sent Bram a documentation patch, but I guess it did not get
there in time for the release of vim 7.0.

     For the sake of lurkers, there does not seem to be a help tag for
this, but

:help List
/unpack

explains that

:let [a, b] = MyFun()

will work if MyFun() returns a List with two elements.

HTH                                     --Benji Fisher

Reply via email to