| View previous topic :: View next topic |
| Author |
Message |
mAdDoG
Joined: 29 Dec 2004 Posts: 62
|
Posted: Fri Dec 01, 2006 12:20 am Post subject: use .ini file for database? |
|
|
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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Fri Dec 01, 2006 12:27 am Post subject: Re: use .ini file for database? |
|
|
| 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 |
|
 |
mAdDoG
Joined: 29 Dec 2004 Posts: 62
|
Posted: Fri Dec 01, 2006 12:38 am Post subject: |
|
|
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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Fri Dec 01, 2006 10:29 am Post subject: |
|
|
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!  _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
MarquisDeBoBo Guest
|
Posted: Fri Dec 01, 2006 10:49 am Post subject: |
|
|
| Quote: | | And I don't see why several .ini files could be better! | It's about pain ... rrrrRrrrrrrRrRrrrRRrrrr  |
|
| Back to top |
|
 |
mAdDoG
Joined: 29 Dec 2004 Posts: 62
|
Posted: Fri Dec 01, 2006 4:29 pm Post subject: |
|
|
Ok then, off I go...
Thanks for the advice PhiLho! _________________ -buttons, buttons,...
I like to push all the buttons!!! |
|
| Back to top |
|
 |
ScottEdge
Joined: 14 Aug 2005 Posts: 57 Location: Connecticut,USA
|
|
| Back to top |
|
 |
|