AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

use .ini file for database?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
mAdDoG



Joined: 29 Dec 2004
Posts: 62

PostPosted: Fri Dec 01, 2006 12:20 am    Post subject: use .ini file for database? Reply with quote

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!!!
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri Dec 01, 2006 12:27 am    Post subject: Re: use .ini file for database? Reply with quote

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.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
mAdDoG



Joined: 29 Dec 2004
Posts: 62

PostPosted: Fri Dec 01, 2006 12:38 am    Post subject: Reply with quote

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!!!
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri Dec 01, 2006 10:29 am    Post subject: Reply with quote

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! Smile
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
MarquisDeBoBo
Guest





PostPosted: Fri Dec 01, 2006 10:49 am    Post subject: Reply with quote

Quote:
And I don't see why several .ini files could be better!
It's about pain ... rrrrRrrrrrrRrRrrrRRrrrr Laughing
Back to top
mAdDoG



Joined: 29 Dec 2004
Posts: 62

PostPosted: Fri Dec 01, 2006 4:29 pm    Post subject: Reply with quote

Ok then, off I go...
Thanks for the advice PhiLho!
_________________
-buttons, buttons,...
I like to push all the buttons!!!
Back to top
View user's profile Send private message
ScottEdge



Joined: 14 Aug 2005
Posts: 57
Location: Connecticut,USA

PostPosted: Sun Dec 03, 2006 12:59 am    Post subject: Reply with quote

you could uses Titans XML Explorer

http://www.autohotkey.com/forum/viewtopic.php?t=9945&highlight=xml+explorer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group