Re: ONLINE reader??

Mel Wilson (mwilson@interlog.com)
Fri, 26 Jul 1996 10:22:14 -0400

In article <960726115015_76747.2012_EHS83-1@CompuServe.COM>,
"patrick j. lustina" <76747.2012@CompuServe.COM> wrote:
>[...] is the yarn database structure(s) sufficiently documented to allow one to
>write their own online reader??
>if yes to either, pointers would be appreciated; i would like to use yarn under
>waffle.

In YARN 0.89, anyway, the folder format is dead simple.
Each message starts with a 4-byte binary number, low-order byte
first, like a 'long integer' in C programs under DOS. This gives the
number of bytes in the message. Then that number of bytes for the
message. After that, the next byte count and the next message. The
newline character alone is used to end message lines; using Turbo C,
this means opening the file in binary mode. Load a folder file into a
debugger and have a look.

Good Luck. Mel.