return string([a,b])
let x = eval(the_returned_s)
but this sucks.. How else can you do it?
Return by passing references:
let list = []
fun Fun(l)
call append(l,'value1')
call append(l,'value2')
endf
call Fun(list)
echo list[0]
echo list[1]
but ... you really make me curious why you can't update Vim.
Why is it worth spending hours on this?
Marc Weber
--
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:
Post a Comment