On Mon, 22 Dec 2008 14:06:26 -0800, Donald Russell wrote:
>I don't quite understand what PAD/NOPAD does... the doc says with
>NOPAD the keys must be the same length to be considered equal.

You've chosen a combination where PAD will never do anything:  column
ranges defined in words, and PAD BLANK.  Since a word can never end in a
blank, padding with blanks will never change what does or doesn't match.

Suppose you had words with an unpredictable number of dots stuck on the
end.  Then |LOOKUP PAD . W1| would match up, say, "word." with "word.."
or "word" with no dot.

I don't know whether the guts of LOOKUP would make this easy or
impossible, but it sure would be nice to be able to say PAD ANYOF and
specify a list of characters that match the end of the other key (and
maybe a shorthand ANY for ANYOF 00-FF).  Even nicer if we could also 
PAD LEFT to handle BC's domain-name problem without having to reverse 
the records.

¬R                  Blather, Rinse, Repeat.
http://users.bestweb.net/~notr/telecom.html

Reply via email to