On 07/07/10 17:23, Bee wrote:
On Jul 7, 4:21 am, Tony Mechelynck<[email protected]>
wrote:
On 17/06/10 00:00, Bee wrote:

QUESTION: Why does @l<n work and @l<@n fail? Where do I find help?

I guess I answered my own question.
It looks like registers hold only text, but variables can be typed.
Not sure why @b+1 works?

In Vim, a String can be used as a Number, as follows:
- If the string is empty, or doesn't start with a digit, the value is zero
- Otherwise, as much as possible of the starting part of the string is used.

See :help octal

I am using version 7.2.444 in MocOS Terminal
:help octal returns
"E149: Sorry, no help for octal"

I have done :helpgrep on some words of your comment and nothing.

:help me


I see that helptag in the help for Vim 7.3, and also in Vim 7.2 eval.txt dated 2010 May 14, which corresponds to Vim 7.2.434 and later. On Windows or Mac, Steve Hall and björn should have included up-to-date runtime files with their respective "Vim without Cream" and "MacVim" distributions.

If your eval.txt is not older than that, ":helptags $VIMRUNTIME/doc" will probably create the tag.

If your eval.txt is older than that, then I recommend that you update your runtime files, see the bottom paragraph of either
  http://users.skynet.be/antoine.mechelynck/vim/compile.htm (W32)
or
  http://users.skynet.be/antoine.mechelynck/vim/compunix.htm (Unix).

If you get your Vim sources with Mercurial (see http://vim.wikia.com/wiki/Getting_the_Vim_source_with_Mercurial ), the latest runtimes are included (but of course, on Unix, "make -C src installvimbin" won't install them; you need either "make install" or "make -C src installruntime").

In the meantime, you can see that help paragraph by going to
        :help variables
then scrolling down about 35 lines to the paragraph starting with "Conversion from a String to a Number".


Best regards,
Tony.
--
You are only young once, but you can stay immature indefinitely.

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