home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Resources
/
System
/
BoingBag1
/
Contributions
/
Workbench
/
RexxArpLib3p6
/
rexx
/
addlibs.rexx
next >
Wrap
OS/2 REXX Batch file
|
1998-06-20
|
1KB
|
51 lines
/* Add resident libraries */
arg doit
if show('p', 'PingServer') then
call sendparsed('PingServer', QUIT, 2400, 2100, 64)
say remlib( "rexxarplib.library" )
"avail flush"
if doint = 'YES' then
if ~show(L, 'rexxsupport.library') then
say 'rexxsupport.library' addlib( 'rexxsupport.library',0,-30,0)
else
say 'rexxsupportlib.library already loaded.'
if ~show(L, 'rexxarplib.library') then
say 'rexxarplib.library' addlib( 'rexxarplib.library',0,-30,0)
else
say 'rexxarplib.library already loaded.'
if doint = 'YES' then
if ~show(L, 'rexxmathlib.library') then
say 'rexxmathlib.library' addlib( 'rexxmathlib.library',0,-30,0)
else
say 'rexxmathlib.library already loaded.'
/*
* Add the QuickSort port, so we can use QSORT.
* First check if the port is already up. If not, run QuickSort
* and wait for the port to be there.
*/
if doit = 'YES' then
if ~show("p","QuickSortPort") then
do
say 'Loading QuickSort'
'run sys:c3/quicksort >nil:'
do i = 1 to 10
if ~showlist("p","QuickSortPort") then call delay 20
else leave i
end
if showlist("p","QuickSortPort") then call addlib("QuickSortPort",-30)
end
else
say 'QuickSort already loaded.'
/* 'ZEDREXX:c/AddREXXLibs >NIL: <NIL:' */
if upper(getenv("rexxdossupport")) = "YES" then
do
if ~show(L, 'RexxDosSupport.library') then
say 'RexxDosSupport.library' addlib( 'RexxDosSupport.library', 0, -30, 2 )
else
say 'RexxDosSupport.library already loaded.'
end