[Toc][Index]

RexxINI


Name     Rexx API's for manipulation of 
         Text Based INI Files 
         (used by WINOS2)
Version  ?
Author   Steven Elliott 
Distrib. Freeware 
Type     REXX DLL 
Price    -
Note	 w/ source 
Source   Internet 
         The DLL is part of the package 
         nicpak.* 

This DLL is useful for manipulating and fixing text ini files used by DOS 
and windows programs. 
The DLL exports the functions 
 
 IniLoadFuncs 
    Load this library 
 IniDropFuncs 
    Unload this library 
 IniLoad(section, file) 
    will load the entire section into a stem variable of the section name, 
    with the shoots being the field = value pairs 
 IniEnum(stem, where) 
    returns array of fields. stem.0 = num entries 
 str = IniGet(field, where) 
    returns '0' for False and '1' for True 
 str = IniDel(field, where) 
    deletes the specified field from the section 
 IniSet(field, value, where) 
    sets filed to the value value 
 IniEnumSections(stem, file) 
    returns array of section names in stem.  stem.0 = number of entries 
 handle = IniOpen(section, file) 
    returns a handle to use for other functions (in place of 'where') 
    handle <= 0 is error 
 IniClose(handle) 
    close the specified inifile section 
 IniSave(handle) 
    save any changes made to the inifile section 
 IniCopy(handle, section, file) 
    copy all fields in the 'handle' section to the specified 'section' in 
    the specified 'file' 
   

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs