..

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

..

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:24 am, edited 27 times in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Thanks for another lesson.

Maybe someday I'll have time to put some of this into practice.

cheers
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

...

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:23 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Thanks :)
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

..

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:24 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

..

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:25 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

..

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:25 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post 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 :wink:
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

..

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:25 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

..

Post by Fangbeast »

..
Last edited by Fangbeast on Thu Aug 10, 2006 5:26 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

..
Last edited by Fangbeast on Mon May 15, 2006 3:40 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

..
Last edited by Fangbeast on Mon May 15, 2006 3:39 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Locked