home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / msh21b.zip / TOOLKIT.ZIP / TOOLKIT.DOC < prev    next >
Text File  |  1992-08-19  |  1KB  |  23 lines

  1. How to add your own primitives coded in C to msh:
  2.  
  3.     The kit we give in this version assumes that  you own a Borland C or C++
  4.     compiler, BC 3.00 or a later version. We may support other compilers in the
  5.     future.
  6.  
  7.     To define your own actions:
  8.  
  9.   - look at examples in the file USERDEFS.C; you may add some actions there
  10.     or put them in a separate file.  Some more documentation is in MSH.H
  11.  
  12.   - add the name of the routines you have defined to PRIMITIV.C, with  the
  13.     name you want them to have in MSH's  language.   You will notice  that
  14.     some actions are surrounded by ifdefs  in that file.    You may  build
  15.     smaller versions of MSH by not including these.
  16.  
  17.   - then rebuild MSH by executing MAKEMSH.BAT.
  18.  
  19. Don't worry if the version you get is bigger than the distributed one --
  20. the distributed one just fits within the boundaries of the compact model,
  21. while the libraries are large model so you may add as much code as you want.
  22. Also the distributed version has been compressed with lzexe.
  23.