<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?
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
> 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?
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
> 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.