vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.14k stars 136 forks source link

Redefinition of table element #176

Open jodavies opened 7 years ago

jodavies commented 7 years ago

When working with enormous files of automatically generated fill statements it would helpful if, in the following situation,

#-
Off Statistics;

Symbol x,y;
CTable,sparse F(1);

Fill F(1) = x;
Fill F(2) = x;

Fill F(1) = y;
Fill F(2) = x;

.end

producing,

TFORM 4.1 (Sep 21 2016, v4.1-20131025-245-g104d5d8) 64-bits 4 workers  Run: Fri Mar 17 13:50:23 2017
    #-
test.frm Line 10 --> Warning: Table element was already defined. New definition
 will be used
test.frm Line 11 --> Warning: Table element was already defined. New definition
 will be used
Max. space for expressions:                   0 bytes
  0.00 sec + 0.00 sec: 0.00 sec out of 0.00 sec

the error message for Line 10 were different to that of Line 11. I.e., upon redefinition, a check is performed to see if the table entry would change due to the redefinition.

This is just a suggestion to keep in mind, I know you are all busy...

Thanks, Josh.