Italian Basic4android - db2000 utility - INI

maXim

Active Member
Licensed User
Longtime User
db2000 utility - INI

Questa soluzione è il riadattamento di un un'altra per Basic4ppc pubblicata qualche anno fa sempre su questo forum (gestire i file .INI), si tratta di due semplici routine (lettura/scrittura) in puro codice Basic4android che possono tornare utili nella gestione dei file di [INI]zializzazione ma lo scopo è quello di fornire a chi è alle prime armi la possibilità di sperimentare con il nuovo compilatore i metodi per la gestione dei file e delle stringhe.
 

Attachments

  • db2000.utility.INI.zip
    2.9 KB · Views: 469

Amalkotey

Active Member
Licensed User
Longtime User
Hello MaXim,

I would like to use your module under b4a DB2000 Ini. iIn the system once I send you the ini file, which was geschriben on my SD card. Module in your seemingly still be a bug. Your example program writes the double sessions. do you have a revised version? Then you can do or what I translate into English?

This was written in the Test.ini:

B4X:
[SESSION 1]
Code=00001
[SESSION 1]
Name=db2000
[SESSION 2]
Code=00002
[SESSION 2]
Name=Basic4ppc
[SESSION 1]
Code=00001
[SESSION 1]
Name=db2000
[SESSION 2]
Code=00002

[SESSION 2]
Name=Basic4ppc

In several sessions would bloat the corresponding ini - file. It would be better if the result would look like this

B4X:
[SESSION 1]
Code=00001
Name=db2000
Code=00002
Name=Basic4ppc

[SESSION 2]
Code=00001
Name=db2000
Code=00002
Name=Basic4ppc

Many thanks in advance for your efforts.

best regards
Amalkotey
 
Top