Friday, November 25, 2011

Re: Backporting script to vim 6.3 (need help)

On Nov 25, 10:25 am, Preben Randhol <preben.rand...@gmail.com> wrote:
> On Nov 25, 10:15 am, Preben Randhol <preben.rand...@gmail.com> wrote:
>
> > Thanks. I'll try. A bigger problem at the moment is that I cannot
> > figure out how to return multiple variables from a function:
>
> And dictionaries seems not to be supported, so i cannot get around it
> by returning a dictionary.

From the vim 7 changelog under new things since Vim 6:

In Vim scripts the following types have been added:

|List| ordered list of items
|Dictionary| associative array of items
|Funcref| reference to a function

So then I guess I won't be able to return mulitple arguments. I need
to do some rewriting then... hmmm

--
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

No comments: