On 15/04/2012 12:27, Dilwyn Jones wrote:
Have you tried a more recent version of DATA_BIN?
The supplied one is so old there is no version number, now 2.13
(21/2/98).
Bob
I don't have a more recent version of DATA_BIN - could you maybe email
me one - if it works, I will send it onto Quanta and ask that they
replace the version used in the library guide.
There is a "v1.21" string embedded in the Library version, although I'm not
sure if that refers to the library guide database itself.
The boot program on my qemulator loads v2.12 of the DATA_BIN. So we know the
error persists with v2.12 at least.
Disk SP07 in Quanta library has version 2.13 of DATA_BIN (which I’ll send to
Rich privately to see if it helps), while disk SP08 has the sources for anyone
who wants to investigate the problem.
This is a list of changes, although the list stops at v2.10, after that there
appears to only have been sporadic updates to individual files, possibly by
Phil Borman.
Dilwyn
--------------------------------------------------------------------------------
CHANGES TO DATABASE HANDLING
V2.00
Names handling introduced into the vectors, Basic interface,
and C interface.
The FSD.ORDR (ORDER) algorithm was rewritten to be alot faster.
Array parameters made available to Basic procedures.
When the comparison function is called from the C fsd_search,
fsd_incld,& fsd_excld functions; the first field descriptor is
at fld_list[1] not fld_list[0].
V2.01
The memory allocating routines now allocate memory with the
owner as the job who opened/created the database. The user memory
interface routines have the owner Job ID handed over in D2.
Some minor bugs corrected.
V2.02
DATA_BIN& DBAS_BIN now display messages when called. DATA_BIN
prints to QDOS channel $00000000, and DBAS_BIN prints to channel
#0 of the Basic in which it is called.
DATA_BIN has a QJUMP config style configuration block for
default order key length and compare case dependence, as well as
for activating the database "thing".
All procedures in the superbasic interface now have a function
version (preceded by FDB_) that returns the error code as a
float.
Reordering of records after appending& updating now proceeds
with the same algorithm as ordering, and so is alot faster.
FSD.ORDR (ORDER) now preserves the select status of the
records. Note, however, that unordering the database no longer
releases the memory, but must be followed by a call to FSD.RES
(RESET) to do so.
The size of the order string keys can now be increased through
use of FSD.SOKY (SORDKEY).
FSD.SEL (INCLUDE& EXCLUDE) now check the records in file order
rather than any imposed order, and so go faster.
FSD.SEL& FSD.FIND-FSDF.FSE (INCLUDE, EXCLUDE,& SEARCH) now
can take a Contains string condition, and have a flag to NOT the
result. Also "AND" linkages take priority over "OR" linkages.
The record expansion routine (for dynamic records) has been
rewritten, and so is now faster. Therefore FSD.FIND& FSD.SEL
(FIND, LOCATE, SEARCH, INCLUDE& EXCLUDE) go faster, as well as
record positioning& exporting.
OPEN_DDIR now loads the inbuilt field name table.
A new database editor program has been added that requires the
pointer enviroment to run. However, its source is very long, so
its sources and the ALTER_BIN sources are to be submitted on
another disk.
V2.03
The v2.01 memory allocation improvement is now documented.
The machine code test program TEST_MC2 now allocates memory
with the supplied job ID.
V2.10
The TRAP #4 flag is now tested& cleared on SMS2 systems.
A new set of vectors to manipulate subfields within string
fields has been added& documented (Basic commands begin SUBF_).
A new pair of vectors to add and remove fields has been added
(ADD_FIELD and REMOVE_FIELD in Basic).
The DBADDR function has now been transfered to DBAS_BIN,
instead of having its own files.
The Basic function FETCH should now work properly.
A new vector has been added to copy the selected records, in
order, from an open database to a new database file. (COPY_DATA
in Basic)
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
I take it then, I am not the only one with this problem - Dilwyn also
has seen it!
The v2.13 of DATA_BIN does not help either unfortunately...
--
Rich Mellor
RWAP Services
Specialist Enuuk Auction Programming Services
www.rwapservices.co.uk
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm