Test programs for IPC using Manx C ================================== These two short programs "Get" and "Have" were written by Brian Witt to test out the IPC procedures under Manx/Aztec C. I have taken the editorial prerogative in a few places to make some slight changes, updates, and cleanups. I haven't changed the functions of the programs at all (I hope!). The Manx makefile is also included (but the necessary source IPC.c is in the IPC_Sources directory). The programs also compile perfectly well under Lattice; you should have no problem following the examples in demo_sources to do the same thing here. "Have" accepts messages containing two integer items (in slots 2 and 3), and returns their product in the first slot (initially empty). Note that it also prints the result in its window, so it should only be run from a CLI (and of course it must be a different one from "Get"!!). "Get" takes two numeric command-line arguments, puts them in a message, sends it to "Have", and prints the result. If you don't already have "Have" running, it will exit with a message to that effect. Notice that Brian has used a different ID 'NUMB' from my 'INTG': I haven't changed this, but this is the sort of conflict that needs sorting out in a public standard -- hopefully over usenet. -- Pete --- August 1988