/*rx*/
cfgfile = 'Env:RexxLib.cfg'
If ~Open(cfg_file,cfgfile,'R') Then
  Exit 5

Do Until EOF(cfg_file)
  line=Strip(Readln(cfg_file))
  If line ~= '' & Left(line,1) ~= '#' & line ~= 'rexxsyslib.library' Then
  Do
    If ~Show('L',line) Then
    Do
      If Exists('Libs:'||line) Then
      Do
        Say "Adding "||line
        /*
        ret = Addlib(line,0,-30,0)
        If ret ~= 0 Then
          Say 'Failed to add '||line
        */
        Address Command 'RXLIB '||line||' 0 -30'
      End
    End
  End
End
Call Close(cfg_file)
/*
address command 'xwb:etc/varexx'
*/

