[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] \$[m-n] \$[m-] \$[-n]
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] \$[m-n] \$[m-] \$[-n] |
Date: |
Fri, 06 May 2011 15:45:30 +0200 (CEST) |
>> However, a similar ability isn't available for string definitions
>> (with .ds). \$[m-n] (and perhaps also \$[m-] and \$[-n] where one
>> end of the range is not specified) would ameliorate this lack.
>
> For strings try using the .substring command.
You misunderstand, I believe: He means there is no possibility to get
a range of arguments *within* the definition of .ds -- for example,
you can use \R'...' within a string definition to set a number
register.
Werner