Article View: comp.sys.amiga.tech
Article #13355ARexx<-->Uedit
From: Eric J. Kennedy
Date: Sat, 06 Jan 1990 05:37
Date: Sat, 06 Jan 1990 05:37
48 lines
2121 bytes
2121 bytes
I'm trying to do some work with Uedit and ARexx, and I'm having
some trouble. Briefly the problem can be illustrated by the following
example. I send a message containing "getfile()" to ARexx from uedit.
(That's the ARP file requester; the necessary libraries are all loaded.)
ARexx gets the message and calls getfile(), which puts up a requester.
I choose a file "foobar" from the requester. Since the result of getfile()
wasn't redirected to a variable or 'say' or anything like that, the value
"foobar" gets returned to uedit. This is pretty much what I want. However,
"foobar" gets returned to uedit in a new message, not in the reply to Uedit's
original message. Then Uedit must reply to ARexx's message, then retrieve
the reply to the original message.
Schematically,
Uedit ARexx
Message 1 --------"getfile()"--------->
<-------"foobar"------------- message 2
message 2 reply ---<okay>------------->
<--------<okay>-------------- message 1 reply
I want to condense this to
Uedit ARexx
Message 1 ------"getfile()"-------------->
<--------"foobar"---------------- message 1 reply
but I can't figure out how. Uedit supposedly provides access to
RXFF_RESULT flag, but when I try to use it, it either is ignored or
crashes the machine. I suspect the solution may be something like
saving the result of getfile() to a variable, then using some reply
or return function to get that result back to Uedit. I can't seem
to find out what that might be, though.
--
Eric Kennedy
ejkst@cis.unix.pitt.edu
Technical Details
Message-ID:
<21414@unix.cis.pitt.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!ejkstShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!ejkst From: ejkst@unix.cis.pitt.edu (Eric J. Kennedy) Newsgroups: comp.sys.amiga.tech Subject: ARexx<-->Uedit Message-ID: <21414@unix.cis.pitt.edu> Date: 6 Jan 90 05:37:22 GMT Reply-To: ejkst@unix.cis.pitt.edu (Eric J. Kennedy) Organization: Univ. of Pittsburgh, Comp & Info Services Lines: 48