[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

399.0. "table array error" by UBEAUT::MANDERSON (the wind don't blow..... it sux) Tue May 19 1987 21:01

I often create tables with more \ separators than the table as specified
requires. Ie say a <TABLE_SETUP>(3\... and some table_rows with up to 9 
\ in them. Document then picks up however many columns from each row that 
the setup has defined. I typically do this so I can make a table and easily 
add/delete columns as necessary by editing the <table_setup>. This makes 
less problems in making sure that there are enough of the \ in each line 
(and although I haven't used it this way it would allow for conditional 
tables like this:)

<TABLE>(Conditional table width.)
<TABLE_ATTRIBUTES>(WIDE\MULTIPAGE)
<CONDITION>(ONE)
<TABLE_SETUP>(3\4\5\6\7\8\9)
<ENDCONDITION>
<CONDITION>(NOT_ONE)
<TABLE_SETUP>(6\4\5\6\7\8\9)
<ENDCONDITION>
<TABLE_HEADS>(ONE\TWO\THREE\FOUR\FIVE\SIX\SEVEN\EIGHT\NINE)
<TABLE_ROW>(NOW \IS\THE\TIME\TO GO\TO A\PARTY)
<TABLE_ROW>(1\2 \3 \4 \5 \6 \7 \8 \9 )
<TABLE_ROW>(\\\\\\)
<TABLE_ROW>(THE \ QUICK\ BROWN\ FOX\ DID\ NASTIES\ TO \ DOCUMENT\ )
<ENDTABLE>


Today I created a file consisting of 6 tables, all more or less the 
same, (ie with more \ than required). Each successive table was 
created by using the first table as a "template" and was separated by a
<final_clean_up>(page_break). The last table was the only different one 
in that the table ended up being about 100 lines long or 30% longer than 
the next biggest. All the tables were 5 columns wide.  None of the lines 
had more than 7 \ in the whole file. 


It repeatably crashed in the middle of the last (longest) table with the 
following error.

    %PAS-F-ARRINDVAL, array index value is out of range

I eventually reduced the number of \ in *some* of the lines so the \ per 
table_row, in the table that caused the crash, was 6 (still more than
required) and it went through fine.

Question: - Does this mean there is a maximum table size possible 
	    (i.e. rows * cols .LT. maximum cells available)?

Regards
kevin
T.RTitleUserPersonal
Name
DateLines
399.1found it.UBEAUT::MANDERSONthe wind don&#039;t blow..... it suxWed May 20 1987 20:495
    I discovered that one line had 9\ in it. Guess what - document doesn't
    like 9 \.
    
    regards
    kevin