Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

use option to increase maximum columns of I7 tables?

0 views
Skip to first unread message

George Oliver

unread,
Dec 20, 2009, 5:35:07 PM12/20/09
to
I ran into a compiler error when adding a table with 21 columns:

<code>

Problem. There are too many columns in the table testing already, so
the column 'Table of testing test blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1' cannot be accommodated.

</code>

It seems like the max is 20 columns in either z8 or Glulx format. Is
there any way to increase that?

Erik Temple

unread,
Dec 20, 2009, 6:44:51 PM12/20/09
to

It looks (from Appendix B, the template code documentation) as if it's not
possible to extend the number of columns. However, the maximum number of
columns should be 99, rather than 20. (See page 261.) Another limit on the
number of columns is that there can only be 411 column names across all
tables in a project.

--Erik

George Oliver

unread,
Dec 21, 2009, 12:57:55 AM12/21/09
to
On Dec 20, 3:44 pm, "Erik Temple" <ek.tem...@gmail.com> wrote:

> It looks (from Appendix B, the template code documentation) as if it's not  
> possible to extend the number of columns. However, the maximum number of  
> columns should be 99, rather than 20. (See page 261.) Another limit on the  
> number of columns is that there can only be 411 column names across all  
> tables in a project.


This might be a bug then -- consider this standalone project:

<code>
"testing tables"

R is a room.

Table of Testing
column column column column column column column column column column
column column column column column column column column column column
column
"testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing" "testing"
</code>

There are 21 columns in this table, and I get the error:

"Problem. There are too many columns in the table Testing already, so
the column 'Table of Testing column column column column column column
column column column column column column column column column column
column column column column column "testing" "testing" "testing"
"testing" "testing" "testing" "testing" "testing" "testing" "testing"
"testing" "testing" "testing" "testing" "testing" "testing" "testing"
"testing" "testing" "testing" "testing"' cannot be accommodated.
"

However, if I delete one column, it compiles without error.

Can anyone else confirm this?

Mike Tarbert

unread,
Dec 21, 2009, 6:43:21 AM12/21/09
to
George Oliver wrote:
> On Dec 20, 3:44 pm, "Erik Temple" <ek.tem...@gmail.com> wrote:
>
>> It looks (from Appendix B, the template code documentation) as if it's not
>> possible to extend the number of columns. However, the maximum number of
>> columns should be 99, rather than 20. (See page 261.) Another limit on the
>> number of columns is that there can only be 411 column names across all
>> tables in a project.
>
>
> This might be a bug then -- consider this standalone project:
>
> <code>
> [snip]

> </code>
>
> There are 21 columns in this table, and I get the error:
>
> [snip]

>
> However, if I delete one column, it compiles without error.
>
> Can anyone else confirm this?
>

I can confirm the same behavior compiling to either zcode or glulx,
build 5z71, under windows Vista, using this code:

[code]
Lab is room.

Table of Testing
c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21


1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

[/code]

I concur that this should be reported as a bug.

Skinny Mike

George Oliver

unread,
Dec 21, 2009, 1:05:00 PM12/21/09
to
On Dec 21, 3:43 am, Mike Tarbert <miketarb...@embarqmail.com> wrote:

> I concur that this should be reported as a bug.
>


Thanks all, this indeed was a bug, and will be fixed in the next
release.

0 new messages