Hi,
I have a set of functions, each has some documentation at the top before
the function() statement that I can access using
functionComments(fnname). I wrote a simple utility function to list
these functions. My utility puts the function name in a nice column
based on repeated calls using cat and the "\t" escape. The
documentation is another matter. I can easily list the documentation
next to the function name using the same cat statement and with some
"\t" statements, but the documentation is not vertically lined up, so
it's jagged depending on the number of characters in the function name.
How can I get the second column to always print in the same spot so that
I get two columns that are vertically aligned?
Thanks,
Walt
--
________________________
Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
dataanalytics@earthlink.net
www.dataanalyticscorp.com
|