Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: db/file storage

From: atruter::labyrinth::net::au at: 1-Feb-2004 12:46

On Wed, 28 Jan 2004 11:37:38 +0100, Petr Krenzelok <[petr--krenzelok--trz--cz]> wrote:
> in XBase world, fixed sized (10char) variable is used, called MEMO. Memo > fields are stored in one binary file though, it depends upon index > system you use. We used SixDriver, which was really a powerfull beast > back at those days ... I think that is way to go for RebDB - to offer > another datatype/column - MEMO ... and create driver for one-file > storage ... that way you would get what you need for your IOS data ...
I wanted to do something like this initially, but the various 'skip bugs prevent an efficient solution ... or so I thought. Turns out that if you store each memo as a line of text, then: file: open/lines/direct %memos.txt memo: copy first skip file rowid - 1 works, even though the 'skip refinement [of 'open] and "at file rowid" don't. So expect a new RebDB memo! datatype, with some limitations, in the next couple of days (plus a few other goodies). Regards, Ashley<