I just received the latest issue of "Foxtalk," and this month they
included the COB Editor Extensions, which adds a lot of functionality
to the somewhat anemic Foxpro editor.
One of the coolest features is the macro expansion. For example, lets
say you're working on a project, named FOOPROJ. You can set up a macro,
such as MPF, that will expand to "Modify Project FOOPROJ" whenever "MPF "
is typed in an editing window (such as Command). It comes with quite
a few macros alread installed, such as IFF, which prompts you for a
logical expression, such as !EMPTY(lcFName), and then creates the
following code (with the cursor on the second line) :
IF !empty(lcFname)
_
ELSE
ENDIF && !empty(lcFName)
It also allows you to "comment out" a block of text with a hot-key, and
it will also pull up a list of all functions in a program. It will do
several other things, such as popping up the structure of a table (useful
when coding SQL-SELECTS or BROWSES).
It is freeware. I'm not sure if it available via ftp, but if there is any
interest I will put it on wuarchive or somewhere similar. (Any suggestions
on an appropriate site?)
Once again, I'm really impressed. This ranks right up there with Jkey as
far as usefulness!
-Michael
--
GCS/B -d+ p c++++ l(-) u++ e+(*) m+(-) s++/+ !n h---(*) f+(?) g+ w+ t+ r y+(*)