compile insert rti_Select_Repos_Entities_Equates
/*
   ** Copyright (c) 1990-2015 Revelation Software. All rights reserved.**
   
   * This program is proprietary and is not to be used by or disclosed
   * to others, nor is it to be copied without written permission from
   * Revelation Technologies, Inc.
   
   Author    Carl Of Cthulhu
   Date      June 2015
   Purpose   Constants for use with the SELECT_REPOS_ENTITIES function
   
   
   Comments
   ========
     
   
   Amended  Date         Reason
   =======  ====         ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////*/

   equ SRE_FILTERCMD_PREFIX$    to "?"
   equ SRE_FILTEROPS$           to "=,==,<>,!=,#,>,>=,<,<=,[,],[]"
   
   equ SRE_FILTERSTATE_CMD$     to 1
   equ SRE_FILTERSTATE_OP$      to 2
   equ SRE_FILTERSTATE_DATA$    to 3
   equ SRE_FILTERSTATE_EOF$     to 4
   
   equ SRE_FILTERCMD_CLASS$     to "CL"
   equ SRE_FILTERCMD_DATE$      to "DT"
   equ SRE_FILTERCMD_ENTID$     to "ID"
   equ SRE_FILTERCMD_FLAGS$     to "FL"
   equ SRE_FILTERCMD_TIME$      to "TM"
   equ SRE_FILTERCMD_TYPE$      to "TY"
   equ SRE_FILTERCMD_USER$      to "UN"
   equ SRE_FILTERCMD_USING$     to "US"
   equ SRE_FILTERCMD_USEDBY$    to "UB"
   equ SRE_FILTERCMD_VIEW$      to "VW"
   
   equ SRE_FILTERIDX_CLASS$     to 1
   equ SRE_FILTERIDX_DATE$      to 2
   equ SRE_FILTERIDX_ENTID$     to 3
   equ SRE_FILTERIDX_FLAGS$     to 4
   equ SRE_FILTERIDX_TIME$      to 5
   equ SRE_FILTERIDX_TYPE$      to 6
   equ SRE_FILTERIDX_USER$      to 7
   equ SRE_FILTERIDX_USING$     to 8
   equ SRE_FILTERIDX_USEDBY$    to 9
   equ SRE_FILTERIDX_VIEW$      to 10
   
   equ SRE_FILTERFLG_CLASS$     to 0x0001
   equ SRE_FILTERFLG_DATE$      to 0x0002
   equ SRE_FILTERFLG_ENTID$     to 0x0004
   equ SRE_FILTERFLG_FLAGS$     to 0x0008
   equ SRE_FILTERFLG_TIME$      to 0x0010
   equ SRE_FILTERFLG_TYPE$      to 0x0020
   equ SRE_FILTERFLG_USER$      to 0x0040
   equ SRE_FILTERFLG_USING$     to 0x0080
   equ SRE_FILTERFLG_USEDBY$    to 0x0100
   equ SRE_FILTERFLG_VIEW$      to 0x0200
   
   equ SRE_FILTERFLG_DATETIME$  to 0x0012; ; * // Mask of FILTERFLG_DATE$ and FILTERFLG_TIME$
   
   equ SRE_FILTERARRAY_CMD$     to 1
   equ SRE_FILTERARRAY_OP$      to 2
   equ SRE_FILTERARRAY_DATA$    to 3
   
   equ SRE_FILTERMASK_READRECS$ to ( SRE_FILTERFLG_DATE$ + SRE_FILTERFLG_FLAGS$ + SRE_FILTERFLG_TIME$ + SRE_FILTERFLG_USER$ )
   equ SRE_FILTERMASK_SCANIDS$  to ( SRE_FILTERMASK_READRECS$ + SRE_FILTERFLG_ENTID$ )
   
   equ SRE_FILTER_FLAG_CHKOUT$  to "C"
   equ SRE_FILTER_FLAG_EVAL$    to "E"
   equ SRE_FILTER_FLAG_PUB$     to "P"
   equ SRE_FILTER_FLAG_RECMP$   to "R"
   equ SRE_FILTER_FLAG_SHARE$   to "S"
   
