home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
m
/
msh21.zip
/
TOOLKIT.ZIP
/
TOOLKIT.DOC
< prev
next >
Wrap
Text File
|
1992-08-19
|
1KB
|
23 lines
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.