[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

751.0. "nested conditions" by CLARID::HOFSTEE (The flying Dutchman @VBO) Wed Aug 05 1987 05:47

    
    After writing 250 pages with constructions like :
    
    <CONDITION>(A)
      .
      .
      <CONDITION>(B)
          .
          .
      <ENDCONDITION>
      .
      .
    <ENDCONDITION>
    
    I saw that my document didn't look as I expected it to be with the
    various settings for the conditions A and B. 
    After an in depth look in the manual (V1.0) I discovered that you
    cannot nest conditions.
    Too bad.. so I wrote a little routine that recoded all previous
    constructions into :

    
    <CONDITION>(A)
      .
      .

    <ENCONDITION>
    <CONDITION>(A_B)
          .
          .
    <ENDCONDITION>
    <CONDITION>(A)
       .
       .
    <ENDCONDITION>
    
    A little bit cumbersome but never mind.
    After doing some tests with <SETCONDITION>(A) etc. in the file itself,
    I wanted to get rid of the fixed <SETCONDITION> statements and so
    I tried several ways to pass more than one condition into the
    DOC command , but I have not been able to figure out how to do that.
    I tried for example :
    
    DOC/COND=(A,A_B) .....
    DOC/cond=A/cond=A_B
    DOC/cond=(A)/cond=(A_B) etc.
    
    Now my two concrete questions are :
    
    1. Is it really not possible to nest conditions, and if not will
       that be possible in the next version.?
    2. Is it possible to set several conditions at the same time from
       the DOC command line ?
    
    A reasonable satisfied DOC user
    
    Timo
     
T.RTitleUserPersonal
Name
DateLines
751.1Wishing, wishing...COOKIE::JOHNSTONWed Aug 05 1987 15:3522
    
>>>    1. Is it really not possible to nest conditions, and if not will
>>>       that be possible in the next version.?

        You cannot nest conditions in V1.  It's a wishlist item.


>>>    2. Is it possible to set several conditions at the same time from
>>>       the DOC command line ?

        Another wishlist item.

        You can set only one condition at the command line.  You must 
        use <set_condition>s to get the second and ad infinitum conditions.
        In BL8, <set_condition>(a,b,...) does not work (tho it did in
        BL7.  Should work ok in V1 (I haven't tried it yet).
     


Rose