now(INIFile)!!

/* Return an entire section of INI file. */
Def getProfileSection(self, sectName | dict, keys, tst)
{ dict := new(Dictionary, 0);
  keys := getProfileKeys(self, sectName);
  if keys
  then do(keys,
       {using(key)
       add(dict, key, getProfileString(self, sectName, key));
       });
       assocsDo(dict,
       {using(assoc)
       if value(assoc)
          if tst := asInt(value(assoc), 10)
          then dict[key(assoc)] := tst;
          endif;
       endif;
       });
       ^dict;
  endif;
}!!



