home *** CD-ROM | disk | FTP | other *** search
- How to add your own primitives coded in C to msh:
-
- The kit we give in this version assumes that you own a Borland C or C++
- compiler, BC 3.00 or a later version. We may support other compilers in the
- future.
-
- To define your own actions:
-
- - look at examples in the file USERDEFS.C; you may add some actions there
- or put them in a separate file. Some more documentation is in MSH.H
-
- - add the name of the routines you have defined to PRIMITIV.C, with the
- name you want them to have in MSH's language. You will notice that
- some actions are surrounded by ifdefs in that file. You may build
- smaller versions of MSH by not including these.
-
- - then rebuild MSH by executing MAKEMSH.BAT.
-
- Don't worry if the version you get is bigger than the distributed one --
- the distributed one just fits within the boundaries of the compact model,
- while the libraries are large model so you may add as much code as you want.
- Also the distributed version has been compressed with lzexe.
-
- We have included the source for the .zip archive 'lister', so you have
- an example how to build your own 'lister' if you feel courageous enough.
-