| 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 |
In trying to make a small cook-book for "ordinary" users who will attempt Document, I wrote a small article on all the list types that were available. I cannot get it to translate through the TAG translator, as it breaks down silently: %DOC-I-IDENT, VAX DOCUMENT T1.0-008 [ T a g T r a n s l a t i o n ]... %TAG-I-TAG_IDENT, T1.0-002 %TAG-I-DEFSLOADD, End of Loading of Tag Definitions %TAG-I-ENDPASS_1, End of first pass over the input %PAS-F-VARINDVAL, varying index value is greater than current length DOCUMENT /LIST LISTS MANUAL LN03EAST Date/Time: 8-JUL-1987 19:36:38.86 CPU time: 6.85 secs. This to me sounds like a Pascal bug where a VARYING string is referenced or compared with a string beyond its current length STRING.LENGTH. I don't know where it happens or what causes it, but I would like to know how to get around it / hopefully have it fixed before SDC. I won't post the 170 line file: it's available from IJSAPL::PSQ:[PUBLIC.DOCUMENTS]LISTS.SDML Any suggestion appreciated. Theo
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 614.1 | Problem solved | IJSAPL::KLERK | Theo de Klerk | Thu Jul 09 1987 04:15 | 13 |
I found the error of above. After reading notes 346 and 128 on the same Pascal error message, I cut the file in ever smaller pieces till the erroneous code was pinpointed. It wasn't unpaired () or <>, it wasn't lists too deeply nested, it was... <LIST>(ALPHABETIC\LOWERCASE) which is a non-existing attribute (only Uppercase is valid). Also, I discovered that the same error occurs if you enter a blank attribute (e.g. ALPHABETIC\ \UPPERCASE). Although this is illegal, shouldn't Gutentag be warning you instead of dying on the spot after trying to read beyond STRING.LENGTH ? Theo | |||||
| 614.2 | Alas! a BUG! | VAXUUM::KOHLBRENNER | Thu Jul 09 1987 08:17 | 16 | |
Supplying a blank attribute for <list>(alphabetic\ ) causes the
PAS-x-VARINDVAL error. (On baselevels 7, 8 and 9, I could not
get this error for <list>(alphabetic\lowercase), however.
<list>(alphabetic\lowercase) produces a %TAG- error message
that says that LOWERCASE is not a legal attribute.)
This occurs during pass 2 of the translator. I haven't discovered
why it occurs yet.
We'll have to report it as a bug in the release notes for V1.0.
THanks very much for finding it and narrowing it down to the
exact tag that gave the error.
bill
| |||||