Friday, November 25, 2011

Re: Backporting script to vim 6.3 (need help)

On Nov 25, 12:40 pm, lith <minil...@gmail.com> wrote:
> You can use strings to emulate arrays (there is a quite usable library for
> that but I forgot its name ... genutils maybe? ... not multvals it was).

Thanks I'll check it out. At the moment I have disabled my functions
that calculated indentation type and size for Python files as I was
using dictionaries to do that. I see I can rewrite it into using a
string as you say. But not sure I need it as I will only be editing my
own files, and then I know the //correct// indentation type (TAB) and
size (4) ;-)

For the other functions with multi argument returns I just did like in
the old time: Good Ol'Global Varaible (script global that is) As this
is a hack to get it to work and not for production it is fine. Got
some flashback to the 80's and BASIC:

10 PRINT "Hello World"
100 GOTO 10

;-)

> You might want to reconsider updating vim. :-)

Not possible.

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