Adding Quickdex/Rightdex Indexes Programmatically

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 MAR 19912.03+EXPERTQUICKDEXER, RIGHTDEX, QUICKDEX

Later releases of AREV have a routine provided called QUICKDEXER which permits the addition/removal of Quickdexes and Rightdexes to files from within an RBASIC program. QUICKDEXER takes four parameters and is called as a subroutine i.e.

     CALL QUICKDEXER(FILE,TYPE,ACTION,FLAG)

The Parameters are as follows

FILEThe name (NB not file variable) of the file to add the index to.
TYPE"Q" for Quickdex or "R" for Rightdex
ACTION0 to add the index (you will be asked whether you wish to update the QUICKDEX/RIGHTDEX now). 1 will remove the index (without a confirmation message).
FLAGReturns status of operation. Returns a variety of values, those identified thus far are

0 - Successful
1 - Invalid "Type" passed
3 - Quickdex already installed
4 - Rightdex already installed

In addition there are various errors conforming to the new @FILE.ERROR specification.

(Volume 2, Issue 9, Page 4)