[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

220.0. "Mistake using <CODE_EXAMPLE>" by AUTHOR::WELLCOME (Steve) Wed Apr 08 1987 13:54

    I just ran into a "gotcha" that I'd like to pass along as a warning
    to others.  It's highly unlikely that anybody else will run into
    this, but one never knows. I kept getting <P> not valid within 
    <CODE_EXAMPLE> error.  However, when I looked at what was reported 
    as the offending <CODE_EXAMPLE>(code) fragment, it seemed to be 
    properly terminated with a parenthesis, everything seemed to match, etc.
    
    FINALLY!  I noticed that the code fragment I was including in
    parentheses was the word WIDE, and WIDE is a reserved word for
    <CODE_EXAMPLE>.  I changed it to <CODE_EXAMPLE>(<LITERAL>(WIDE)).
T.RTitleUserPersonal
Name
DateLines
220.1Another reserve word gotchaTLE::SAVAGENeil, @Spit BrookWed Apr 08 1987 14:515
    I 'inherited' a file in which someone used "<text>" in several places
    in a code example. In previous versions, DOCUMENT processed this
    without complaint, but <TEXT> is a new reserved word in BL 7 so,
    errors galor.  The remedy, as prescribed in .0, is to know your
    reserved words and surround them with <LITERAL> tags.
220.2What's <text>?COOKIE::JOHNSTONWed Apr 08 1987 15:486
Is <text> an undocumented (DEC-internal) tag?

What does it do?



220.3<text> is a math tagPICA::HIDERPaul HiderThu Apr 09 1987 17:360