English
Forum

write of INI-Files

 

E.T.
Hi,
Why comes by me thereby:
CompileMarkSeparation
declare IniDatei$
IniDatei$ = $ProgDir + IniTest.ini
writeini Inidatei$, Test1, Eintrag1 = E1
writeini Inidatei$, Test1, Eintrag2 = E2
writeini Inidatei$, Test1, Eintrag3 = E3
writeini Inidatei$, Test2, Eintrag1 = E1
writeini Inidatei$, Test2, Eintrag2 = E2
>

always the out:
[Test1]
entry1=E1
entry2=E2
entry3=E3
[Test2]
entry1=E1
entry2=E2

and not the (How yesterday with Dietmar) :
[Test1]
entry1=E1
entry2=E2
entry3=E3
LEERZEILE 
[Test2]
entry1=E1
entry2=E2

not the it bad would, sees hold with Leerzeile only übersichtlicher from.

Mario
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/26/08  
 




Frank
Abbing
according to Separator (10 or 13, 10) is the display in Editoren differently.
 
04/26/08  
 




Sebastian
Sprenger
Hi,
as well as I the see, writes Windows XP integrally simply no Leerzeilen More in INI-Files. and Dietmar has, faith I, too no XP...
Greeting, Sebastian
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
04/26/08  
 




E.T.
@Sebastian: thanks, on The different Win-Version Have I none virtual.
Dietmar has, faith I, 2000.

Habs even under 98 probiert, there are Leerzeilen in the Ini.
The ways Windows and which (moreover-) development are even unplumbed.

Mario
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/26/08  
 



The Leerzeilen can simply self as an afterthought into ini write: (if these pretty looks should )
CompileMarkSeparation
ungetestet
 
04/27/08  
 




Jac
de
Lad
but the fügt to the first cut offed too ne Leerzeile one...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
04/27/08  
 



Yes, Trimme or Midde
 
04/27/08  
 




Sebastian
Sprenger
Why, to the first cut offed in a INI-File is still no
? (Habs of course neither tested...)
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
04/27/08  
 



On The speedy together typed
CompileMarkSeparation
DECLARE txt1$,txt2$,txt3$,txt4$
DECLARE pfad$,datei$
pfad$=GETDIR$(@):datei$=testdaten.ini
txt1$=Horst Horn:txt2$=Heidelberg
txt3$=Testdaten:txt4$=in einer INI-Datei
datei$=pfad$+\+datei$
WRITEINI datei$,Autor,Name=txt1$
WRITEINI datei$,Autor,Wohnort=txt2$+
WRITEINI datei$,Zweck,Text 1=txt3$
WRITEINI datei$,Zweck,Text 2=t4$

simply end the row VOR the Leerzeile one +
append and the INI-File does you whom fallen
 
04/27/08  
 




E.T.
@Horst: The Idea I had already, but time try, whether then with 98 and co.
2 Leerzeilen draus go, there Yes apparently there the system already a einfügt.

Mario
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/27/08  
 




E.T.
...means with Win 98 scheints To klappen !
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/27/08  
 



@Mario
Schreib still a IF-request for each, from you desired Leerzeile
about so:
CompileMarkSeparation
DECLARE txt1$,txt2$,txt3$,txt4$
DECLARE pfad$,datei$
pfad$=GETDIR$(@):datei$=testdaten.ini
txt1$=Horst Horn:txt2$=Heidelberg
txt3$=Testdaten:txt4$=in einer INI-Datei
datei$=pfad$+\+datei$
WRITEINI datei$,Autor,Name=txt1$

IF $WinVer < 4.11   4.10 ist Windows-98

    WRITEINI datei$,Autor,Wohnort=txt2$

ELSEIF $WinVer > 4.10

    WRITEINI datei$,Autor,Wohnort=txt2$+

ENDIF

WRITEINI datei$,Zweck,Text 1=txt3$
WRITEINI datei$,Zweck,Text 2=txt4$

Dietmar has still certainly still in Hoyerswerda on one computer windows-98 walk. The can still testing let or Dietmar ?
 
04/27/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.604 Views

Untitledvor 0 min.
Uwe Lang02/11/23
RudiB.10/08/22
rquindt05/31/20
Sebastian Sprenger03/19/13
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie