AutoHotkey Community

It is currently May 27th, 2012, 7:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: December 1st, 2006, 12:20 am 
Offline

Joined: December 29th, 2004, 8:22 pm
Posts: 75
Hi everyone!

I need to create a database for simple short lines of text.
It will have maybe 200 entries maximum.
Would a .ini file be ok to use for this much data?
What are the limits to .ini?

(I understand how to use .ini with AHK)

...thanks

_________________
-buttons, buttons,...
I like to push all the buttons!!!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 1st, 2006, 12:27 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
mAdDoG wrote:
What are the limits to .ini?
64KB...
This isn't very big, you better put that in a simple text file, read it in memory and process it from there.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2006, 12:38 am 
Offline

Joined: December 29th, 2004, 8:22 pm
Posts: 75
Thanks PhiLho,

I suppose I could manage that.
Would using multiple .ini's possibly be better?

_________________
-buttons, buttons,...
I like to push all the buttons!!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2006, 10:29 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Well, .ini seems like a bit obsolete for me, except for some uses (saving settings). It was made for that anyway, abusing it to do something else is prone to problems due to limitations of its format.

And I don't see why several .ini files could be better! :-)

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2006, 10:49 am 
Quote:
And I don't see why several .ini files could be better!
It's about pain ... rrrrRrrrrrrRrRrrrRRrrrr :lol:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2006, 4:29 pm 
Offline

Joined: December 29th, 2004, 8:22 pm
Posts: 75
Ok then, off I go...
Thanks for the advice PhiLho!

_________________
-buttons, buttons,...
I like to push all the buttons!!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2006, 12:59 am 
Offline

Joined: August 14th, 2005, 12:44 am
Posts: 57
Location: Connecticut,USA
you could uses Titans XML Explorer

http://www.autohotkey.com/forum/viewtop ... l+explorer


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: bobbysoon, just me, Yahoo [Bot] and 74 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group