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

Oliver Corff <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <[email protected]>
Hi Tadziu,

thank you for your kind reply.

Oliver.


On 26/11/2025 14:03, Tadziu Hoffmann wrote:
>> .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.
>
>
>
-- 
Dr. Oliver Corff
mailto:[email protected]
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.