Volume 2 Chapter 8 Quest Sub-menu CONTENTS

Back to Table of Contents

QUESTION LOGIC

Function

QUESTION LOGIC is concerned with how to compose a search query in terms of:

Remarks

Before considering how to compose the search question in the QUEST sub-menu it will be helpful to discuss how the program handles the search question.

  • If in doubt regarding the logical combination of tests it is safest to use parentheses.

    Thus:

    QUES (T1) .AND. (T2 .OR. T3)

    is equivalent to:

    QUES T1 .AND. T2 .OR. T3

    and

    QUES (.NOT.T4) .AND. (T1 .AND. T2)

    is equivalent to:

    QUES T1 .NOT. T4 .AND. T2

    Graphics QUEST3D Procedure

    Having defined tests Tn selection of the command QUEST in the BUILD or SEARCH menus will display the QUEST sub-menu.

    The tests are displayed, each in a box, in the diagram area of the screen.

    In the top right-hand corner of the menu are the logical operators and parentheses to be used for construction of the search question.

    The logical operator .AND. is the default, as indicated by the red box surrounding it.

    In the dialogue area there is:

    The current QUEST line is:
    QUEST
    Please select a test or a logical operator. Select "START-SEARCH" to begin.

    Suppose 3 tests have been defined. A few examples will illustrate how to compose the QUEST line:

    Ex.1

     QUES T  T1  .AND.  T2

    Ex.2

     QUES T  T1.  OR.  T2

    Ex.3

     QUES T  (T1)  .AND.  (T2  .OR.  T3)

          ACTION      ACTIVE OPERATOR   CONTENTS OF QUESTION LINE
    Ex.1
                        .AND.           QUEST
          Select  T1    .AND.           QUEST  T1
          Select  T2    .AND.           QUEST  T1  .AND.  T2
    Ex.2
                        .AND.           QUEST
          Select  T1    .AND.           QUEST  T1
          Select .OR.   .OR.            QUEST  T1
          Select  T2    .OR.            QUEST  T1  .OR.  T2
    Ex.3
                        .AND.           QUEST
          Select  (     .AND.           QUEST  (
          Select  T1    .AND.           QUEST  (T1
          Select  )     .AND.           QUEST  (T1)
          Select  (     .AND.           QUEST  (T1)  .AND.  (
          Select  T2    .AND.           QUEST  (T1)  .AND.  (T2
          Select .OR.   .OR.            QUEST  (T1)  .AND.  (T2
          Select  T3    .OR.            QUEST  (T1)  .AND.  (T2  .OR.  T3
          Select  )     .OR.            QUEST  (T1)  .AND.  (T2  .OR.  T3)
    As indicated above, once the search question has been correctly composed the search can be initiated by selecting START-SEARCH.

    Back to Table of Contents

    Volume 2 Chapter 8 Quest Sub-menu REBUILD-FRAG.