Hi,

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

yes, see

  :help limits

On 64 bit systems it's probably 9223372036854775807.

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

  :let r = repeat(' ', 6)

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

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

Reply via email to