home *** CD-ROM | disk | FTP | other *** search
- (@title Calendar Pal - Example ARexx Library Setup Routine@)(@indent 3@)
-
-
-
- Below is an example ARexx program to set up the Rexx Support, ARP and Math
- libraries.
-
-
-
- (@color 3@)**************************************************************************(@color 1@)(@indent 0@)
-
-
-
- /* Add REXX libraries */
-
-
- /* REXX Support Library */
-
-
- if ~show('L',"rexxsupport.library") then
-
- do
-
- if addlib("rexxsupport.library",0,-30,0) then
-
- say 'Added library "rexxsupport.library"'
-
- else do
-
- say 'REXX Support library not present'
-
- exit
-
- end
-
- end
-
-
- /* REXX ARP Interface Library */
-
-
- if ~show('L',"rexxarplib.library") then
-
- do
-
- if addlib("rexxarplib.library",0,-30,0) then
-
- say 'Added library "rexxarplib.library"'
-
- else do
-
- say 'REXX ARP library not present'
-
- exit
-
- end
-
- end
-
-
-
- /* REXX Math Library */
-
-
-
- if ~show('L',"rexxmathlib.library") then
-
- do
-
- if addlib("rexxmathlib.library",0,-30,0) then
-
- say 'Added library "rexxmathlib.library"'
-
- else do
-
- say 'REXX Math library not present'
-
- exit
-
- end
-
- end
-
- exit
-
-