Page 1 of 4
..
Posted: Fri Apr 07, 2006 7:27 am
by Fangbeast
..
Posted: Fri Apr 07, 2006 12:53 pm
by rsts
Thanks for another lesson.
Maybe someday I'll have time to put some of this into practice.
cheers
...
Posted: Fri Apr 07, 2006 12:56 pm
by Fangbeast
..
Posted: Fri Apr 07, 2006 1:03 pm
by Berikco
Thanks

Posted: Fri Apr 07, 2006 1:05 pm
by rsts
I have a password generating program I'm in the process of converting to PB4 (of course, in the process there are always "improvements":).
Still in the midst of a home remodelling project, so time for PB is somewhat limited, but one of my objectives after I complete the conversion to PB4 is to change the flat file storage to a database. With all your examples/tutorials to draw from, I'm sure that part will be much easier than it would have been. Not even sure I would have attempted it without the examples.
Thanks for doing your efforts and the legwork and sharing the results. The best part of PureBasic is the forums!
cheers
..
Posted: Fri Apr 07, 2006 2:58 pm
by Fangbeast
..
..
Posted: Fri Apr 07, 2006 3:00 pm
by Fangbeast
..
..
Posted: Fri Apr 07, 2006 3:02 pm
by Fangbeast
..
Posted: Fri Apr 07, 2006 3:23 pm
by Berikco
Fangbeast wrote:Berikco wrote:Thanks

For what?????
What you think...3 kids who start to go at the library, now i dont have to manage there books anymore, il just learn my wife how to use this easy programm

..
Posted: Fri Apr 07, 2006 3:28 pm
by Fangbeast
..
Posted: Fri Apr 07, 2006 4:47 pm
by rsts
Fangbeast wrote:@rsts, you just reminded me to ask you..what format is your "flat file" in? A converter could be quickly written for it to go from yours to sqlite.
At present I'm just using a text file consisting of one record per account, containing 5 fixed length fields.
Right now the entire file is read into an array at program start and written out at end (or upon a "save").
Any additional tips are appreciated. Hope to be finished with the remodeling in another 6 to 8 weeks.
cheers
..
Posted: Sat Apr 08, 2006 3:32 am
by Fangbeast
..
Posted: Sat Apr 08, 2006 5:16 am
by rsts
Fangbeast wrote:So it looks like this right?
Record1 Field1 Field2 Field3 FIeld4 Field5
Record2 Field1 Field2 Field3 FIeld4 Field5
Record3 Field1 Field2 Field3 FIeld4 Field5
Record4 Field1 Field2 Field3 FIeld4 Field5
etc.
What are the field delimiters? Spaces, tabs, commas or (",") ?
Yes
Record1 Field1 Field2 Field3 FIeld4 Field5
Record2 Field1 Field2 Field3 FIeld4 Field5
records are fixed length with fixed length fields (padded with spaces, remnants of Cobol:) - no field delimiters.
Currently, It's for basically "personal" use - myself and a few associates. Maximum number of records is probably in the very low hundreds, if that.
Conversion to a data base is more for learning than any driving need.
cheers
Posted: Tue Apr 11, 2006 10:04 pm
by Fangbeast
..
Posted: Wed Apr 26, 2006 8:20 am
by Fangbeast
..