Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database
#20
The example bplus provided should be sufficient. One modification I would make is adding a "filler" field adding 100 bytes or so to each record, which bloats the data file but allows adding a couple of fields later if they are needed, only by adjusting the program.

We chose QB64(PE) to do this, which remains like Q(uick)BASIC (and maybe like Turbo Pascal) about handling FLS internally. No need to worry about having to add one more character to make room for CHR$(0). In part that's why I said what I said earlier about the date delimeters: in Freebasic absolutely you would have to do without them inside a field of STRING * 10 instead of STRING * 11.

This doesn't matter for someone who has to write such a program from scratch with either programming system. But it does matter a lot to somebody who has hundreds of data files carefully preserved and maintained from using 16-bit user programs regularly, and knows nothing about programming in C. What should we do about those people that used ISAM instead? There should have been a converter from it.
Reply


Messages In This Thread
Database - by johnno56 - 11-18-2022, 08:44 AM
RE: Database - by mdijkens - 11-18-2022, 09:28 AM
RE: Database - by mnrvovrfc - 11-18-2022, 12:30 PM
RE: Database - by bplus - 11-18-2022, 01:35 PM
RE: Database - by SpriggsySpriggs - 11-18-2022, 02:13 PM
RE: Database - by Kernelpanic - 11-18-2022, 04:31 PM
RE: Database - by CharlieJV - 11-19-2022, 05:05 PM
RE: Database - by SMcNeill - 11-18-2022, 02:17 PM
RE: Database - by mdijkens - 11-18-2022, 02:37 PM
RE: Database - by bplus - 11-18-2022, 03:16 PM
RE: Database - by Kernelpanic - 11-18-2022, 03:38 PM
RE: Database - by johnno56 - 11-18-2022, 08:45 PM
RE: Database - by mnrvovrfc - 11-18-2022, 11:26 PM
RE: Database - by bplus - 11-19-2022, 01:04 AM
RE: Database - by mnrvovrfc - 11-19-2022, 04:59 PM
RE: Database - by bplus - 11-19-2022, 05:58 PM
RE: Database - by johnno56 - 11-19-2022, 08:02 PM
RE: Database - by bplus - 11-19-2022, 08:11 PM
RE: Database - by Pete - 11-20-2022, 06:55 AM
RE: Database - by mnrvovrfc - 11-20-2022, 08:17 PM
RE: Database - by bplus - 11-20-2022, 08:58 PM



Users browsing this thread: 2 Guest(s)