source: git/Tst/Short/bug_41.tst @ 94d338

spielwiese
Last change on this file since 94d338 was 94d338, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: bug_41: attrib of l[i] for homog git-svn-id: file:///usr/local/Singular/svn/trunk@9114 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 321 bytes
Line 
1LIB "tst.lib";
2tst_init();
3// attrib for list elements
4
5ring r;
6ideal i=x;
7list l=i,i;
8homog(l[1]);
9attrib(l);
10attrib(l[1]);
11attrib(l[2]);
12
13attrib(l[2],"huhu",1);
14attrib(l);
15attrib(l[1]);
16attrib(l[2]);
17
18l[1][2]=y;
19attrib(l);
20attrib(l[1]);
21attrib(l[2]);
22
23l[2][2]=y;
24attrib(l);
25attrib(l[1]);
26attrib(l[2]);
27
28tst_status(1);$
Note: See TracBrowser for help on using the repository browser.