In a message dated 14/12/04 19:42:43 GMT Standard Time, [EMAIL PROTECTED] writes:
> > Anyone know where I have gone wrong here?? There must surely be something > simple. > I would appreciate it if people would actually try to do this and let us > know if they find a solution (other than compiling both programs with > Turbo). > EX and EXECUTE deal with "a TO b TO c" in much the same way. The executable program b is set up with two channel IDs on its stack. One is input (from a) and the other output (to c). Pipes are set up. However, EX puts the input ID on the stack first and the output ID second. EXECUTE does the reverse. The first ID on the stack set up by EXECUTE is the output ID. Also ,EX sets up pipes owned by job b. EXECUTE sets up pipes owned by the calling job. This should show that it is probably necessary to use a Turbo compiled program for b rather than a Qlib compiled one. At a pinch I suppose you could use an assembler program for b (which is how I looked to see what EX and EXECUTE were actually doing). BTW (on another subject) J. Joyce's spelling of "fish" comes from a footnote in Finnegan's Wake. It is: "Pure chingchong idiotism with any way words all in one soluble. Gee each owe tea eye smells fish. That's U." I hope this helps. You will see, however, that there is no l in fish. George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
