Rich Mellor writes: > If I create a job in QLiberator which uses pipes to communicate with the > outside world, what channel numbers do I use for the input and output > pipe?? In Turbo it is #30 (input) and #31 (output) > > Get channel not open on these in QLiberator (tried #15 and #16 also) > > HELP !!
If you mean what channels are assigned to pre-opened channels on the stack, I seem to recall that they are #0 = stdin, #1 = stdout and #3 = error. Thus the program ram1_test_bas 10 REMark test pipe 20 : 25 REPeat l 27 IF EOF(#0): EXIT l 30 INPUT#0; l$ 40 PRINT#1; l$ 50 END REPeat l 60 BEEP 2,2 70 QUIT compiled as ram1_test_obj can be invoked by EX "ram1_test_obj", "ram1_test_bas", #1 would copy the source of the program to channel #1 Per _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
