[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MCL def divider mailing



Here's a handy-dandy hint that may be obvious to most, but I just stumbled
across it.  It has breathed new life into my source code organization:

Use a divider such as this in long source code files to separate segments
of code:

#|__________________________________________________________________________
(defun "**** some sort of title here" ())
__________________________________________________________________________|#

This, of course, is non accecptable as a function definition, but it does
fool the List Definitions tool so that whatever is in quotes is listed
along with the function definitions.  The bullets (shown here as '*'s) at
the front stand out, so
that the segments of the code are clearly seen in the Buffer Order window.
The titles are also nicely listed at the top when using Alphabetical Order.

The four bullets can be typed in FRED using:  option-4, control-q, option-8.


--Dave

-------------------------------------------------------------
David S. Bright                        dbright@nist.gov
Microanalysis Research Group
Bldg. 222 (Chem.) A113
National Institute of Standards & Technology (NIST, formerly NBS)
Gaithersburg, MD 20899-0001   / USA
301-975-3911 (voice),  301-216-1134 (fax)
"You must have accurate and honest weights and measures, so that you may
live long in the land the Lord your God is giving you.",  Deuteronomy 25:15