home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 4611 / fw16d.ins / INCLUDE / INI.CH < prev    next >
Text File  |  1994-01-16  |  699b  |  27 lines

  1. #ifndef _INI_CH
  2. #define _INI_CH
  3.  
  4. #xcommand INI <oIni> ;
  5.              [ <file: FILE, FILENAME, DISK> <cIniFile> ] ;
  6.        => ;
  7.           <oIni> := TIni():New( <cIniFile> )
  8.  
  9. #xcommand GET <uVar> ;
  10.              [ SECTION <cSection> ] ;
  11.              [ ENTRY <cEntry> ] ;
  12.              [ DEFAULT <uDefault> ] ;
  13.              [ <of: OF, INI> <oIni> ] ;
  14.        => ;
  15.           <uVar> := <oIni>:Get( <cSection>, <cEntry>, <uDefault>, <uVar> )
  16.  
  17. #xcommand SET [ SECTION <cSection> ] ;
  18.               [ ENTRY <cEntry> ] ;
  19.               [ TO <uVal> ] ;
  20.               [ <of: OF, INI> <oIni> ] ;
  21.        => ;
  22.           <oIni>:Set( <cSection>, <cEntry>, <uVal> )
  23.  
  24. #xcommand ENDINI =>
  25.  
  26. #endif
  27.