"DIR",
"|rxqueue"
 line.0 = queued()

 do l = 1 to line.0
   parse pull line.l
    say line.l
 end

works in
parse version V
say V "which shows "

REXX-ooRexx_4.1.0(MT) 6.03 5 Dec 2010



Volume in drive C has no label.
 Volume Serial Number is E4F5-457C

 Directory of C:\Program Files\ooRexx

08/19/2011  11:03 AM    <DIR>
08/19/2011  11:03 AM    <DIR>          ..
12/06/2010  03:52 PM    <DIR>          api
09/21/2010  10:00 PM            11,839 CPLv1.0.txt
09/21/2010  10:00 PM            22,491 csvStream.cls
12/06/2010  03:52 PM    <DIR>          doc
12/05/2010  10:52 AM            73,216 host

.
.
.
. et c.

Which brings up an interesting point.  I am working on a Concordance
for REXX the 'Genera'.

Thanks for the example and enjoy the day, or evening.

Bob Hamilton
Richardson Texas USA

On 8/27/11, Leslie Turriff <[email protected]> wrote:
>       Up to now I have used the classic Rexx method of retrieving the output
> from external commands:
>
>  "some_command",
> "|rxqueue"
>   line.0 = queued()
>
>   do l = 1 to line.0
>     parse pull line.l
>   end
>   :
>
>       Is there an oo method for doing this?  arrayin appears to be able to 
> read
> from a file, but doesn't pick up the output from an external command.  I
> don't
> see anything in the docs for the queue class either.
>
> Leslie
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to