English
Forum

maximum Size of/ one ini-File

 

Andreas
Koch
Hello together,

I have a question concerning the command "writeini" and "readini": gives it a constraint for Size the verwendeten Ini-File?
for the win.ini is the boundary apparently with 64kb. counts the too for of Profan generierten ini-Files?
thanks and lovely Greeting

Andreas cook
 
04/27/12  
 




Jörg
Sellmeyer
herewith come I on a Size of 64mb with of/ one String-Length of 32766.
Var File$ = $ GetDir("@") + "\\Test.ini"
Print File$

WhileLoop 100000

    writeini File$,"Test","Eintrag" =  + MkStr$("A",&Loop) + " " + Str $(Len(ReadIni$(File$,"Test","Eintrag")))
    'Case %ioresult:Break 'here's to few Einträgen Schluss, if one it drinlässt
    Locate 2,1
    Print FileSize(File$)'that here counts yet, if too The maximum String-Length access is!
    Print Len(ReadIni$(File$,"Test","Eintrag"))

Wend

'ShellExec(File$,"Open",0) ' not To recommend, if The File larger becomes
waitinput
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/27/12  
 



against with older Profan-versions The boundary imho with 32kB lying.
 
04/27/12  
 




Jörg
Sellmeyer
The giilt Yes evident still. The Filesize is Yes irrelevant, if Readini not everything ausliest.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/27/12  
 




Andreas
Koch
Therefore would but only The Size of a EINTRAGS in a ini-File 32kb terminable and accordingly The Begrenzung for functions "readini" and "writeini".

I have the finished ini-File from obigem example a additional entry angefügt and this subsequently successful read can. The File on itself can means larger his as 64kb.
interestingly would it for me now, to know, whether it for Filesize the ini-File a constraint gives.
 
04/27/12  
 




Jörg
Sellmeyer
You need Yes only time a Inidatei with x Einträgen of each 32k create. building You The Loop supra something circa.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
04/27/12  
 



Schade the for XProfan (yet) no assoziativen Arrays velvet functions How
"serialze"/ "unserialize" existieren.
 
04/27/12  
 




Andreas
Koch
I have Jörgs suggestion umgesetzt and the "Beschreibenvorgang" after a knappen hour with 100MB aborted. subsequently have I under again a entry appended and this successful read can. apparently there means no boundary for Size, me wealthy 100MB in each drop.

I have of course no idea, what a assoziatives aray is, would but already with a dynamic 2D-Array and a couple funktionsfähigen Matrixoperationen happy.

anyway once more thanks for Help.
 
04/27/12  
 



dynamic 2D-Arrays and Matrixoperationen are against with XProfan no
trouble.

The Difference between one indizierten and assoziativen Arrays is,
that in the Contrast to that Indizierten instead of numbers sooner Keywords as Indizes
uses go:
'normal
a[0]=10
a[1]=20
'assoz
a["jux"]=10
a["dallerei"]=20

such Arrays are a very mächtiges tool.
 
04/27/12  
 




Andreas
Koch
hears not badly on, with the whom assoziativen Arrays.

but:
If dynamic 2D Arrays and Matrixoperationen with XprofanX2 no trouble are, make I something wrong.

yet could I dynamic 2D Arrays only in a procedure, the I The Size commit, deklarieren and Edit. the schränkt already very one, particularly, if to the aray too global use could.
Also let The MAT-Operationen by me always the program "abschmieren". there there were too once one Forumthema To.

Presumably be I simply of MATLAB verwöhnt....
 
04/27/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.988 Views

Untitledvor 0 min.
iF12/30/15
Andreas Koch09/08/15
Claus Müller09/14/14
Pauli07/10/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