Index: Tst/Short/string.res.gz.uu
===================================================================
--- Tst/Short/string.res.gz.uu	(revision 0df02761ea5104747ff923eee578ddb4d27f4a45)
+++ Tst/Short/string.res.gz.uu	(revision 458bd67f21def86763df6137584fe9c0d9fa9a66)
@@ -1,27 +1,44 @@
 begin 644 string.res.gz
-M'XL(""SF%C<``W-T<FEN9RYR97,`[5A?;]LV$'_7ISAX>Y`W)A$IV4[L1<.6
-MO008]I*]&4'M6$S-1I9DBFYM#_ONNZ-L4G:3SEW7H=@6(!'O=/S=_Q.9NU]_
-MNOT%`'@*/]_^"!U3F_-</71&P=WNC4@!F:]4H4S8'07TA+3AU69J5O5YN3).
-M.D[!K9-SR%5M((=KX`S$"&JC5?$ZS!&',^$$>^E.,/=J^ZF3)G'''Z06S_ZB
-M.'*^!ZEUJ:&<S59:RPQ4`8UTK@H)@R%,6CLFM*5^4E6%V&#DVL"C+A<P@8G3
-M<8DZ1L&8WP])F`=CT:R\Q5>-%:JHI39ASL`:N7O+HX/]<E&9C770`2%D?`3)
-M>?I">#AFX"_@82;R,8_NT<R>-RTYUL)Z[AVE`7&L7^:MG(7T.F[YU2>!A`0Z
-M<^5+A`^.0.T^-E<M[,O30V)W!ZC'4G,5D!=V[>$H_N,^64(@86=>=A@:)3O>
-M6A&]9-6\9'/I;1,8>:AT.4-=\!L?_>XA!*FY)#5SY;GQI_C2;Y;[W<0M+4-X
-MA@Q0J:4N+A#YH9@N),`0=ARRU;*&A-CPS*:2=O,0:G1YE4_U,W$3Q^D_BDDU
-MU8AKI&[Z\2L4P=8;:6E6NJ#N#UIALUU;/.$?*H@+LZA\20@J%0S9WK(A_'!W
-M<WM+]*+,B*;ES@G:2F19R0+)HB1"RVEF"6.7&^*]T\K(-F^OC8;">-"4@[?A
-MDVKNQ#P-7)X._&Q8>U<;JNUMP_$.-_1[/C?L]]S^7-5Q]>'J(,L_JD1B;$&"
-M`^V2$F.SJ4Q.<_")BH73JQ`@<OS8\37RPUA$4=QEX9IMV!:?614B>=-U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F-
+?T5D';3JZW7+0OT^`,Y#>+Q8U_$^%_P&\MJ]NG$$`````
 `
 end
Index: Tst/Short/string.stat
===================================================================
--- Tst/Short/string.stat	(revision 0df02761ea5104747ff923eee578ddb4d27f4a45)
+++ Tst/Short/string.stat	(revision 458bd67f21def86763df6137584fe9c0d9fa9a66)
@@ -3,9 +3,9 @@
 init >> HOSTNAME:nepomuck.mathematik.uni-kl.de
 init >> uname -a:Linux nepomuck.mathematik.uni-kl.de 2.0.33 #1 Wed Jan 21 18:50:57 MET 1998 i686 unknown
-init >> date    :Fri Apr 16 09:26:36 MET DST 1999
+init >> date    :Sat Apr 17 14:00:02 MET DST 1999
 init >> version :1302
 init >> ticks   :100
-1 >> tst_memory_0 :: nepomuck.mathematik.uni-kl.de:277613
-1 >> tst_memory_1 :: nepomuck.mathematik.uni-kl.de:337837
+1 >> tst_memory_0 :: nepomuck.mathematik.uni-kl.de:282405
+1 >> tst_memory_1 :: nepomuck.mathematik.uni-kl.de:346021
 1 >> tst_memory_2 :: nepomuck.mathematik.uni-kl.de:282624
-1 >> tst_timer_1 :: nepomuck.mathematik.uni-kl.de:8
+1 >> tst_timer_1 :: nepomuck.mathematik.uni-kl.de:14
Index: Tst/Short/string.tst
===================================================================
--- Tst/Short/string.tst	(revision 0df02761ea5104747ff923eee578ddb4d27f4a45)
+++ Tst/Short/string.tst	(revision 458bd67f21def86763df6137584fe9c0d9fa9a66)
@@ -2,52 +2,103 @@
 tst_init();
 
-list l = 1, 2; string(l);
+
+proc MyPrint(def what)
+{
+   "what";
+   what;
+   "print(what)";
+   print(what);
+   "string(what)";
+   string(what);
+   "print(what, \"%s\")";
+   print(what, "%s");
+   "print(what, \"%p\")";
+   print(what, "%p");
+   "print(what, \"%t\")";
+   print(what, "%t");
+   "print(what, \"%;\")";
+   print(what, "%;");
+}
+
+list l = 1, 2; 
+MyPrint(l);
+l;
+
 list ll;
-string(ll);
-l = l = ll;
-l;
+MyPrint(ll);
+
+l = l + ll;
+MyPrint(l);
+
 l = insert(l, ll);
-l;
+MyPrint(l);
+
+l[10] = 5;
+
 string(l);
- l;
-l[10] = 5;
-string(l);
+MyPrint(l);
+
 l[3] = intvec(1,2,3);
 l[4] = "hi";
-string(l);
-l;
+MyPrint(l);
+
 l[6] = list("ho", "he");
-string(l);
- proc hi {1;};
-l[8] = hi;
-l;
-string(l);
+MyPrint(l);
+
+l[8] = MyPrint;
+MyPrint(l);
+
 link li = "/tmp";
-li;
-l[7] = li;
-l;
-string(l);
+l[8] = li;
+MyPrint(l);
+
 ring r;
+MyPrint(r);
+
 ideal i;
-string(i);
-string(r);
+MyPrint(i);
+
 l[8] = r;
 l[9] = i;
-l;
+MyPrint(l);
+
+matrix ma[2][2] = x,y,z,x2;
+MyPrint(ma);
+
+module m=[1,y],[0,x+z];
+MyPrint(m);
+
+l[1]= list(ma, m);
+MyPrint(l);
+
+intmat M=betti(mres(m,0));
+MyPrint(M);
+print(M,"betti");
+print(M, "%b");
+l[2] = M;
+MyPrint(l);
+ 
 ideal j = z2,x;
 resolution re = res(j,0);
-re;
-string(re);
+MyPrint(re);
 l[11] = re;
-l;
-string(l);
-string(l, l);
+MyPrint(re);
+
+matrix B(1..3);
+B(1)[1,1] = 1;
+B(2)[1,1] = 2;
+B(3)[1,1] = 3;
+
+B(1..3);
+print(B(1..3));
+string(B(1..3));
+
 qring qr = std(ideal(x,y));
-string(qr);
-l[12] = qr;
-l;
-string(l);
+MyPrint(qr);
+
 list l = 1, qr, list(2, qr);
-l;
-string(l);
+MyPrint(l);
+
+
 tst_status(1);$
+
