[comp.sys.amiga.programmer] What is needed to make programs ARexx capable?

tll@nntp-server.caltech.edu (Tal Lewis Lancaster) (06/11/91)

How does one go about making a program ARexx capable?  What I am really
interested in what libraries, etc. are needed?  I was under the impression that
Commodore adopted ARexx and that it is bundled with 2.0.  And so it seems on
my 3000.  However, this package seems to be set up to enable users to write
scripts for existing programs that have ARexx support and not for adding
ARexx to a program.  Am I right?

I downloaded from ab20 amiga/utils/rexx - SimpleRexx.larc.  However, when
I tried compiling the makefile, the message "can't find RexxVars.o" (or
something along those lines).  So where do I get this file?  Are there
any other libraries, files that are needed to add ARexx functionality to one's
program?

Tal Lancaster

giguere@csg.uwaterloo.ca (Eric Giguere) (06/11/91)

Well, in about a month or so a book will be available from Commodore 
that will give you all the details you need to add an ARexx interface
to your programs, build function hosts & libraries, etc., with full
source code (for both Manx 5.0e & SAS 5.10) and an updated SimpleRexx.

Until then:  the SimpleRexx you have depends on the RVI (Rexx Variables
Interface) routines that are found in the RexxVars.o file.  Unfortunately,
those routines are only currently available if you actually bought ARexx
separately -- it doesn't come with a 3000.  Look on your ARexx disk
in the Developers directory.  The RVI routines are used to set an error
variable in the calling ARexx program.  The new SimpleRexx won't require
the RVI routines, but until then you can modify SimpleRexx by removing
any references to the CheckRexxMsg() and SetRexxVar() functions.  You 
should then be able to link without RexxVars.o.

If anyone has any general questions on ARexx interfacing, I can help you
out... but if it's not pressing, you might as well wait for the book,
which is designed to answer those questions...

-- 
Eric Giguere                                       giguere@csg.UWaterloo.CA
           Unlike the cleaning lady, I have to do Windows.