[comp.sys.mac.programmer] XCMDS in non-hypercard uses

xmjschm@hscfvax.harvard.edu (MJSchmelzer) (02/17/89)

I've been considering writing a program with modular features,
and I was wondering what sort of references anyone has for writing
XCMDs and XFCNs in a non-hypercard setting.
   For instance, how would the calling program call the subroutines, etc.

   The idea would be this : On startup, the program would check for all
files in its folder of type, say, XCMD, and open them. Then it would
build a menu based on what XCMD resources were available in those files.

   Has anyone else seen a program with any sort of modular design? (MPW is
also modular, and I considered making the modules shell tools. In fact,
I haven't ruled it out except for the fact that I'd then have to either
(1) bundle MPW or (2) write my own shell that would call MPW tools.)

   Any sort of input on modular design at all would be appreciated.
-- 
==============  xmjschm@harvspha.BITNET ====== There are two kinds of people:
Mike Schmelzer  xmjschm@hscfvax.harvard.edu    They call each other "boring"
============================================== and "weird." -Me