#RexxPlus Help Needed
01-Nov-94 18:18:46
Sb: #43602-#RexxPlus Help Needed
Fm: Robert Wilcox 70107,717
To: Steven D. Kapplin 70055,1021
CA's Programmer's Guide To ARexx provides sample sourcecode for a function
library. The first step would be to create a library with the same name as the
library of interest prefixed by rp – for example rpmylib.library for
mylib.library. The function list needs to be modified to include all the
function names in the library of interest. You can use a program such as
Strings to extract the function names from the original library. Finally, you
modify the dispatcher to return a boolean to indicate whether a function exists
in the table. RexxPlus takes the boolean as indicator to code a direct
reference to the target library at compile time. Note that you want to return
the boolean instead of actually calling a function as that would require you to
provide a stub for each name in the function table. With a little preplanning,
you should be able to place thefunction list in a separate module so that you
could easily create an rplibrary by linking in the function table of interest.
This would be handy if you plan to do a number of these.
Bob