Here's a nifty little problem that I just can't seem to get my mind around.
Hypothetical situation: We have a database containing names and yes/no
answers, like this:
Joe Blow Yes
Jane Doe No
Fred Jones Yes
I see two characteristics of this database that "waste space". First, all of
the ASCII characters in the names are CHR$(127) or less. Second, a yes/no
answer only requires one bit to be on or off.
Question: Has anyone written a routine or does anyone know how to build and
maintain a datafile in PowerBASIC where a field can be defined using 7-bit
ASCII and a field can be only one bit long if required?
--- Msgedsq 2.2e
---------------
* Origin: THE BIG ELECTRIC CAT Melville Sask *SDS* *PDN* (1:140/53)
|