[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

472.0. "<LIST>(bogus) gives wrong error message" by COOKIE::WITHERS (Le plus ca change...) Fri Jun 05 1987 13:39

<LIST> gives a strange error message when the first argument is bad.

For example, 

<list>(unnumbered0
<le>A list element
<le>A nother list element
<endlist>

produces

$ document list_bad memo ln03
VAX DOCUMENT T1.0-001
[ T a g   T r a n s l a t i o n ]...
T1.0
End of Loading of Tag Definitions
at tag <LE> on line 1 in file
   DISK$CSSE_DISK:[WITHERS.DOC_WIERDNESSES]LIST_BAD.GNC;
   <LE> is invalid in an argument to <LIST>.
Pass 1: 1.7  Pass 2: 0.0  Total: 1.7 seconds
Errors found by TAG Translator.
T.RTitleUserPersonal
Name
DateLines
472.1CLOSET::ADLERFri Jun 05 1987 16:1713
This is not simply a case of a bad keyword. In this case you forgot 
(or mistyped) the closing parenthesis, so as far as the tag translator was
concerned, you hadn't ended the argument list yet. It was still in the context
of reading the argument to the <LIST> tag when it came upon <LE>; hence
the "<LE> is invalid in an argument to <LIST>" message. Had you indeed typed
<list>(bogus) with a closing parenthesis, you would have seen the following:

   Argument 1 to tag <LIST> is not a keyword
%TAG-I-ARGMENTIS, The argument is bogus

We try to be user-friendly, but we can't read minds.

--Brian