B4J Library INI files windows style class

Hi,
I've written this class to manage INI-likes files.
It expose three main methods

Initialize(pPath As String, pFilename As String ) - to init the object and create a INI file
AddKey(pSection As String,pKey As String,pValue As String) As Int - to add or update a key with a new value - return 0=updated; 1=added; -1=no more space
GetKey(pSection As String,pKey As String) As String - to get the content of a key
 

Attachments

  • ini-like class.txt
    3.2 KB · Views: 310

Sabotto

Active Member
Licensed User
Good!! I was just looking for a little class for this. They will also be outdated (as the experts say), but I am happy with this type of files to store little information in a more orderly way than a classic text file.
 
Top