Re: .length request produces (to me) interesting output

Tadziu Hoffmann <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <[email protected]>
> .de CODE
> .length @count "\\$1"
> ..
> \*[CODE 12345678]
> \n[@count]
> 
> The result is "9" whereas I expected "8".

It is counting the second quote in the .length request.
Opening quotes are permitted in order to allow for leading
whitespace, but unlike in macro calls, there should be no
closing quote.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.