home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!sserve!prolix!prolix.apana.org.au!dac
- From: dac@prolix.apana.org.au (Andrew Clayton)
- Newsgroups: comp.lang.rexx
- Subject: Re: PMREXX under OS/2
- Message-ID: <LVF+r*Gn0@prolix.apana.org.au>
- Date: Sun, 15 Nov 1992 13:29:51 GMT
- References: <hokZr*gl0@prolix.apana.org.au> <BxKFE6.JK2@watserv1.uwaterloo.ca>
- Organization: More like Dis~, really.
- X-Newsreader: Arn V1.00 beta rel2
- Lines: 35
-
- In article <BxKFE6.JK2@watserv1.uwaterloo.ca>, Eric Giguere writes:
-
- > In article <hokZr*gl0@prolix.apana.org.au> dac@prolix.apana.org.au (Andrew Clayton) writes:
- > >1) Is there a generic way to make OS/2 read and write files from
- > > a REXX command file? [There was no readln, writeln, readch,
-
- > Under OS/2 the functions linein(), charin(), etc. are used for
- > input and output. It's actually a very strange model if you're
-
- Thanks. Several other netters pointed this out. I also
- downloaded the REXX.INF file from Compu$erve, which eased all of
- my remaining problems with this particular variant of REXX.
-
- > >2) Using standard input, and PARSE UPPER PULL xyz, I am able to
- > > input the information I need to process, but everytime I go
- > > through the loop and read another line, I get an annoying
-
- > I'm not sure what you're talking about here. Realize that PMREXX.EXE
- > is an _application_ that invokes the REXX interpreter. The two are not
-
- Sorry about that. I meant when I executed the REXX command file,
- PARSE PULL would issue a '?', since it expected input from the
- console, and even if it was reading redirected input, would write
- out the '?' prompt.
-
- Using xyz = LINEIN() worked perfectly. [Note: LINEIN/LINEOUT
- CHARIN/CHAROUT are not in the Amiga REXX implementation -
- replaced with ReadLN, WriteLN, ReadCH and WriteCH.]
-
- > Eric Giguere giguere@csg.UWaterloo.CA
-
- Dac
- --
- dac@prolix.apana.org.au David Andrew Clayton. // _| _ _
- dac@prolix.sserve.cc.adfa.oz.au Canberra, Australia \X/ (_](_](_
-