Path: utzoo!utgpu!cunews!bnrgate!bwdls61.bnr.ca!bwdls58!leibniz!walt From: walt@bcarh133.uucp (Walt Sullivan) Newsgroups: comp.lang.rexx Subject: Re: Using the system stack Message-ID: Date: 10 Jan 91 14:17:19 GMT References: <1991Jan09.180541.4246@eecs.wsu.edu> Sender: news@bwdls58.UUCP Organization: Bell-Northern Research, Ottawa, Canada Lines: 16 In-reply-to: dfrank@eecs.wsu.edu's message of 9 Jan 91 18:05:41 GMT In article <1991Jan09.180541.4246@eecs.wsu.edu> dfrank@eecs.wsu.edu (Duane D. Frank) writes: > > My question is: If I want to call this GREP exec from another exec or > function, and I want the GREP program to put it's output information on > the system stack so it can be pulled off by the calling EXEC, (with a > do while queued() for instance) how would I go about putting the output > information onto the stack? I do it by calling the exec with an option of "(STACK", and when in the exec, if the STACK option was given, do output with the "QUEUE" command (for FIFO) or the "PUSH" command (for LIFO), instead of "SAY". -- Walt Sullivan BITNET: walt@BNR.CA (work) UUCP: walt@orbit.amiga.OCUnix.on.ca (home)