> On Fri, January 21, 2011 8:35 am, rameo wrote:
> > Is there a maximum number in vim?
> > just noted that vim gives a wrong output
> > when I do this multiplication:
>
> > let w = 2*123456*10000
> > echo w
> > output --> -1825847296
>
> > let t = 1*123456*100000
> > echo t
> > output --> -539301888
>
> :h limits
>
> > ------------------------------------------------------------------
>
> > I still have one more little question:
> > if strlen(var) == 6
> > let r = ' ' (6 spaces)
> > is there an easier way to insert spaces p.e.
> > let r = 6a"SPACE"<ESC>
>
> norm! 6i
>
> (note the trailing space)
>
> regards,
> Christian
Thank you Jurgen and Christian.
Is it possible to check if a result of a calculation is above the
limit
and interrupt the function?
--
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